Renames more test functions to a common pattern
This commit is contained in:
parent
657ddc6f9a
commit
cf046af8c7
|
@ -347,7 +347,7 @@ class CompoundMetadatumTypes extends TAINACAN_UnitTestCase {
|
|||
|
||||
}
|
||||
|
||||
function teste_validations_metadada_order() {
|
||||
function test_validations_metadada_order() {
|
||||
|
||||
$Tainacan_Collections = \Tainacan\Repositories\Collections::get_instance();
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Tainacan\Tests;
|
|||
class Filters extends TAINACAN_UnitTestCase {
|
||||
|
||||
|
||||
function teste_add(){
|
||||
function test_add(){
|
||||
$Tainacan_Filters = \Tainacan\Repositories\Filters::get_instance();
|
||||
|
||||
$collection = $this->tainacan_entity_factory->create_entity(
|
||||
|
|
|
@ -48,7 +48,7 @@ class Items extends TAINACAN_UnitTestCase {
|
|||
$this->assertTrue(current_user_can($collection->get_items_capabilities()->edit_post, $item->get_id()), 'Administrator cannot edit an item!');
|
||||
}
|
||||
|
||||
function teste_query(){
|
||||
function test_query(){
|
||||
$collection = $this->tainacan_entity_factory->create_entity(
|
||||
'collection',
|
||||
array(
|
||||
|
@ -246,7 +246,7 @@ class Items extends TAINACAN_UnitTestCase {
|
|||
|
||||
}
|
||||
|
||||
function teste_meta_query_in(){
|
||||
function test_meta_query_in(){
|
||||
$collection = $this->tainacan_entity_factory->create_entity(
|
||||
'collection',
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue