From 74ee8e18612cca899bb213f73412f6869008beb2 Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Fri, 2 Dec 2022 16:24:14 -0300 Subject: [PATCH] fiX: case tests --- .../geocoordinate/class-tainacan-geocoordinate.php | 2 +- tests/test-metadata.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php b/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php index 82a26ad3f..7ab020dc2 100644 --- a/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php +++ b/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php @@ -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('
diff --git a/tests/test-metadata.php b/tests/test-metadata.php index 3e0a7ab6f..5ec3b6d56 100644 --- a/tests/test-metadata.php +++ b/tests/test-metadata.php @@ -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() ) ); } /**