fiX: case tests
This commit is contained in:
parent
0b0bb4be51
commit
74ee8e1861
|
@ -17,7 +17,7 @@ class GeoCoordinate extends Metadata_Type {
|
|||
$this->set_primitive_type('geo');
|
||||
$this->set_component('tainacan-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_preview_template('
|
||||
<div>
|
||||
|
|
|
@ -197,7 +197,7 @@ class Metadata extends TAINACAN_UnitTestCase {
|
|||
*/
|
||||
function test_metadata_metadata_type(){
|
||||
$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() ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue