src/Codeception/Module/WPDb.php
public function dontSeeOptionInDatabase(array $criteria)
    {
        $tableName = $this->grabPrefixedTableNameFor('options');
        if (!empty($criteria['option_value'])) {
            $criteria['option_value'] = $this->maybeSerialize($criteria['option_value']);
        }
        $this->dontSeeInDatabase($tableName, $criteria);
    }
public function dontSeeOptionInDatabase(array $criteria)
    {
        $tableName = $this->grabPrefixedTableNameFor('options');
        if (!empty($criteria['option_value'])) {
            $criteria['option_value'] = $this->maybeSerialize($criteria['option_value']);
        }
        $this->dontSeeInDatabase($tableName, $criteria);
    }
public function dontSeeOptionInDatabase ( array $ criteria ) { $ tableName = $ this -> grabPrefixedTableNameFor ( 'options' ) ; if ( ! empty ( $ criteria [ 'option_value' ] ) ) { $ criteria [ 'option_value' ] = $ this -> maybeSerialize ( $ criteria [ 'option_value' ] ) ; } $ this -> dontSeeInDatabase ( $ tableName , $ criteria ) ; }
Checks that an option is not in the database for the current blog.

If the value is an object or an array then the serialized option will be checked.

@example
```php
$I->dontHaveOptionInDatabase('posts_per_page');
$I->dontSeeOptionInDatabase('posts_per_page');
```

@param array $criteria An array of search criteria.
Checks that an option is not in the database for the current blog .