server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php
changeset 122 b37fde30dd4a
parent 116 e60c55988ed4
child 143 023b6d467566
--- a/server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php	Thu Feb 11 15:42:27 2016 +0100
+++ b/server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php	Fri Feb 12 15:30:32 2016 +0100
@@ -260,10 +260,10 @@
          $this->assertCount(1, $resources, "Must found only one resources of type edm:ProvidedCHO");
          $providedCHO = $resources[0];
 
-         $identifier = $providedCHO->getLiteral('<http://purl.org/dc/terms/identifier>');
+         $identifier = $providedCHO->getLiteral('<http://purl.org/dc/elements/1.1/identifier>');
 
          $this->assertInstanceOf('EasyRdf\Literal', $identifier, "identifier value must be a literal");
-         $this->assertEquals(CocoonSoundRdfMapperTest::TEST_INPUT_ID, $identifier->getValue(), "Value must be equals to ".CocoonSoundRdfMapperTest::TEST_INPUT_ID);
+         $this->assertEquals(config('corpusparole.corpus_id_scheme') . CocoonSoundRdfMapperTest::TEST_INPUT_ID, $identifier->getValue(), "Value must be equals to ".config('corpusparole.corpus_id_scheme').CocoonSoundRdfMapperTest::TEST_INPUT_ID);
 
      }