Renames more test functions to a common pattern

This commit is contained in:
Rodrigo de Oliveira 2021-03-29 01:45:27 -03:00
parent 657ddc6f9a
commit cf046af8c7
3 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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(

View File

@ -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(