Codeception\Module\WPDb::seePostWithTermInDatabase PHP Method

seePostWithTermInDatabase() public method

Will look up the "term_relationships" table.
public seePostWithTermInDatabase ( integer $post_id, integer $term_id, integer $term_order ) : void
$post_id integer The post ID.
$term_id integer The term ID.
$term_order integer The order the term applies to the post, defaults to 0.
return void
    public function seePostWithTermInDatabase($post_id, $term_id, $term_order = 0)
    {
        $tableName = $this->grabPrefixedTableNameFor('term_relationships');
        $this->dontSeeInDatabase($tableName, array('object_id' => $post_id, 'term_id' => $term_id, 'term_order' => $term_order));
    }
WPDb