function ABTEnviromentTestCase::envTestContentTypeCreation in Access By Term 7
1 call to ABTEnviromentTestCase::envTestContentTypeCreation()
File
- ./
abt.test, line 183
Class
Code
function envTestContentTypeCreation() {
$type_exists = db_query('SELECT 1 FROM {node_type} WHERE type = :type', array(
':type' => $this->content_type->type,
))
->fetchField();
$this
->assertTrue($type_exists, 'The new content type has been created in the database: (' . $this->content_type->type . ')');
}