_generated\WebGuyActions::cantSeeInDatabase PHP Method

cantSeeInDatabase() public method

Effect is opposite to ->seeInDatabase Asserts that there is no record with the given column values in a database. Provide table name and column values. php dontSeeInDatabase('users', array('name' => 'Davert', 'email' => '[email protected]')); Fails if such user was found.
See also: Codeception\Module\Db::dontSeeInDatabase()
public cantSeeInDatabase ( string $table, array $criteria = null )
$table string
$criteria array Conditional Assertion: Test won't be stopped on fail
    public function cantSeeInDatabase($table, $criteria = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInDatabase', func_get_args()));
    }
WebGuyActions