separate hoot test

This commit is contained in:
Jacson Passold 2017-12-04 16:47:38 -02:00
parent 9da2c61044
commit fd63a432cd
1 changed files with 5 additions and 5 deletions

View File

@ -94,10 +94,10 @@ class Collections extends TAINACAN_UnitTestCase {
$x->set_default_order('DESC');
$this->assertTrue($x->validate());
$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!');
}
function test_hooks() {
global $Tainacan_Collections;
$this->assertTrue(has_action('init', array($Tainacan_Collections, 'register_post_type')) !== false, 'Collections Init is not registred!');
}
}