src/Codeception/Module/WPDb.php
public function dontSeePostMetaInDatabase(array $criteria)
    {
        $tableName = $this->grabPrefixedTableNameFor('postmeta');
        if (!empty($criteria['meta_value'])) {
            $criteria['meta_value'] = $this->maybeSerialize($criteria['meta_value']);
        }
        $this->dontSeeInDatabase($tableName, $criteria);
    }
public function dontSeePostMetaInDatabase(array $criteria)
    {
        $tableName = $this->grabPrefixedTableNameFor('postmeta');
        if (!empty($criteria['meta_value'])) {
            $criteria['meta_value'] = $this->maybeSerialize($criteria['meta_value']);
        }
        $this->dontSeeInDatabase($tableName, $criteria);
    }
public function dontSeePostMetaInDatabase ( array $ criteria ) { $ tableName = $ this -> grabPrefixedTableNameFor ( 'postmeta' ) ; if ( ! empty ( $ criteria [ 'meta_value' ] ) ) { $ criteria [ 'meta_value' ] = $ this -> maybeSerialize ( $ criteria [ 'meta_value' ] ) ; } $ this -> dontSeeInDatabase ( $ tableName , $ criteria ) ; }
Checks that a post meta value does not exist.

If the meta value is an object or an array then the check will be made on its serialized version.

@example
```php
$postId = $I->havePostInDatabase(['meta_input' => ['foo' => 'bar']]);
$I->dontSeePostMetaInDatabase(['post_id' => $postId, 'meta_key' => 'woot']);
```

@param  array $criteria An array of search criteria.
Checks that a post meta value does not exist .