diff --git a/tests/test-api-metadatum-mappers.php b/tests/test-api-metadatum-mappers.php index 018050259..ada17ac79 100644 --- a/tests/test-api-metadatum-mappers.php +++ b/tests/test-api-metadatum-mappers.php @@ -276,8 +276,8 @@ class TAINACAN_REST_Metadatum_Mappers_Controller extends TAINACAN_UnitApiTestCas $this->assertEquals('Value for meta 1', $item['metadata']['dc:language']['value']); $this->assertEquals('Value for meta 3', $item['metadata']['dc:creator']['value']); - $this->assertEquals($dc->get_url('dc:language'), $item['metadata']['dc:language']['semantic_url']); - $this->assertEquals($dc->get_url('dc:creator'), $item['metadata']['dc:creator']['semantic_url']); + $this->assertEquals($dc->get_url('dc:language'), $item['metadata']['dc:language']['semantic_uri']); + $this->assertEquals($dc->get_url('dc:creator'), $item['metadata']['dc:creator']['semantic_uri']); $this->assertEquals($dc->metadata['dc:language']['label'], $item['metadata']['dc:language']['name']); $this->assertEquals($dc->metadata['dc:creator']['label'], $item['metadata']['dc:creator']['name']);