Skip to content

Commit b745bcc

Browse files
committed
ITT: New database assertions tests added.
1 parent f3f0375 commit b745bcc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/Asserts/DatabaseAssertsTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ private function seedDatabase()
3737
factory(Post::class)->create(['title' => 'Third Post']);
3838
}
3939

40+
/** @test */
41+
public function it_has_see_database_table_assertion()
42+
{
43+
$this->seeDatabaseTable('posts');
44+
}
45+
46+
/** @test */
47+
public function it_has_dont_see_database_table_assertion()
48+
{
49+
$this->dontSeeDatabaseTable('unicorns');
50+
}
51+
4052
/** @test */
4153
public function it_has_see_in_database_many_assertion()
4254
{

0 commit comments

Comments
 (0)