fiX: case tests

This commit is contained in:
vnmedeiros 2022-12-02 16:24:14 -03:00
parent 0b0bb4be51
commit 74ee8e1861
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class GeoCoordinate extends Metadata_Type {
$this->set_primitive_type('geo'); $this->set_primitive_type('geo');
$this->set_component('tainacan-geocoordinate'); $this->set_component('tainacan-geocoordinate');
$this->set_form_component('tainacan-form-geocoordinate'); $this->set_form_component('tainacan-form-geocoordinate');
$this->set_name( __('Geographical Location', 'tainacan') ); $this->set_name( __('GeoCoordinate', 'tainacan') );
$this->set_description( __('Represents a geographical location that is determined by latitude and longitude coordinates.', 'tainacan') ); $this->set_description( __('Represents a geographical location that is determined by latitude and longitude coordinates.', 'tainacan') );
$this->set_preview_template(' $this->set_preview_template('
<div> <div>

View File

@ -197,7 +197,7 @@ class Metadata extends TAINACAN_UnitTestCase {
*/ */
function test_metadata_metadata_type(){ function test_metadata_metadata_type(){
$Tainacan_Metadata = \Tainacan\Repositories\Metadata::get_instance(); $Tainacan_Metadata = \Tainacan\Repositories\Metadata::get_instance();
$this->assertEquals( 9, sizeof( $Tainacan_Metadata->fetch_metadata_types() ) ); $this->assertEquals( 10, sizeof( $Tainacan_Metadata->fetch_metadata_types() ) );
} }
/** /**