separate hoot test
This commit is contained in:
parent
9da2c61044
commit
fd63a432cd
|
@ -94,10 +94,10 @@ class Collections extends TAINACAN_UnitTestCase {
|
||||||
$x->set_default_order('DESC');
|
$x->set_default_order('DESC');
|
||||||
$this->assertTrue($x->validate());
|
$this->assertTrue($x->validate());
|
||||||
$this->assertTrue(empty($x->get_errors()));
|
$this->assertTrue(empty($x->get_errors()));
|
||||||
|
}
|
||||||
global $Tainacan_Collections;
|
|
||||||
|
function test_hooks() {
|
||||||
$this->assertTrue(has_action('init', array($Tainacan_Collections, 'register_post_type')) !== false, 'Collections Init is not registred!');
|
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