Метод |
Описание |
|
dontSeeInDatabase ( string $table, array $where ) : boolean |
Asserts that records that match the conditions in $where do
not exist in the database. |
|
grabFromDatabase ( string $table, string $column, array $where ) : boolean |
Fetches a single column from a database row with criteria
matching $where. |
|
hasInDatabase ( string $table, array $data ) |
Inserts a row into to the database. This row will be removed
after the test has run. |
|
seeInDatabase ( string $table, array $where ) : boolean |
Asserts that records that match the conditions in $where DO
exist in the database. |
|
seeNumRecords ( integer $expected, string $table, array $where = [] ) : boolean |
Asserts that the number of rows in the database that match $where
is equal to $expected. |
|