DB has already been seeded already

This commit is contained in:
Deon George 2021-08-08 09:48:34 +10:00
parent b179b1b3e9
commit 5e4812ba14

View File

@ -29,7 +29,7 @@ class RoutingTest extends TestCase
*/ */
public function test_zc() public function test_zc()
{ {
$this->seed(NodeHierarchy::class); //$this->seed(NodeHierarchy::class);
$nodes = $this->zone(); $nodes = $this->zone();
$this->assertEquals(52,$nodes->count()); $this->assertEquals(52,$nodes->count());
@ -103,7 +103,7 @@ class RoutingTest extends TestCase
*/ */
public function test_rc() public function test_rc()
{ {
$this->seed(NodeHierarchy::class); //$this->seed(NodeHierarchy::class);
// Pick ZC without any session info - we have 0 children // Pick ZC without any session info - we have 0 children
$ao = Address::findFTN('100:1/0@domain-a'); $ao = Address::findFTN('100:1/0@domain-a');
@ -150,7 +150,7 @@ class RoutingTest extends TestCase
*/ */
public function test_nc() public function test_nc()
{ {
$this->seed(NodeHierarchy::class); //$this->seed(NodeHierarchy::class);
// Pick a HC without any session info - we have 0 children // Pick a HC without any session info - we have 0 children
$ao = Address::findFTN('100:20/0@domain-a'); $ao = Address::findFTN('100:20/0@domain-a');
@ -184,7 +184,7 @@ class RoutingTest extends TestCase
*/ */
public function test_hc() public function test_hc()
{ {
$this->seed(NodeHierarchy::class); //$this->seed(NodeHierarchy::class);
// Pick a HC without any session info - we have 0 children // Pick a HC without any session info - we have 0 children
$ao = Address::findFTN('100:20/2000@domain-a'); $ao = Address::findFTN('100:20/2000@domain-a');
@ -205,7 +205,7 @@ class RoutingTest extends TestCase
public function test_node() public function test_node()
{ {
$this->seed(NodeHierarchy::class); //$this->seed(NodeHierarchy::class);
// Node with session details still doesnt have any children // Node with session details still doesnt have any children
$ao = Address::findFTN('100:20/2001@domain-a'); $ao = Address::findFTN('100:20/2001@domain-a');