Skip to content

Commit 9eddaef

Browse files
committed
Add test for #280
1 parent 7534e6f commit 9eddaef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/SeederTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,12 @@ public function testSeed()
1616
$this->assertTrue($user->seed);
1717
}
1818

19+
public function testArtisan()
20+
{
21+
Artisan::call('db:seed');
22+
23+
$user = User::where('name', 'John Doe')->first();
24+
$this->assertTrue($user->seed);
25+
}
26+
1927
}

0 commit comments

Comments
 (0)