Skip to content

Commit 1c29c2f

Browse files
committed
ITT: New database assertions readme info added.
1 parent 3696dc1 commit 1c29c2f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,22 @@ $this->assertCollectionsNotEqual($collection1, $collection2, 'id');
291291
292292
### DatabaseAsserts
293293
294+
#### `seeDatabaseTable()`
295+
296+
Checks if specified table exists in database:
297+
298+
```php
299+
$this->seeDatabaseTable('users');
300+
```
301+
302+
#### `dontSeeDatabaseTable()`
303+
304+
Checks if specified table not exists in database:
305+
306+
```php
307+
$this->dontSeeDatabaseTable('unicorns');
308+
```
309+
294310
#### `seeInDatabaseMany()`
295311
296312
Checks if each of the specified rows exists in database:

0 commit comments

Comments
 (0)