test init
This commit is contained in:
parent
6e619d7431
commit
68672444f8
|
@ -89,7 +89,9 @@ class Collections extends \WP_UnitTestCase {
|
||||||
$this->assertTrue($x->validate());
|
$this->assertTrue($x->validate());
|
||||||
$this->assertTrue(empty($x->get_errors()));
|
$this->assertTrue(empty($x->get_errors()));
|
||||||
|
|
||||||
|
global $Tainacan_Collections;
|
||||||
|
|
||||||
|
$this->assertTrue(has_action('init', array($Tainacan_Collections, 'register_post_type')) !== false, 'Collections Init is not registred!');
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue