server/src/tests/Controllers/DocumentListControllerTest.php
changeset 112 7a542145832c
parent 111 af85c436048f
child 113 faff38055a07
--- a/server/src/tests/Controllers/DocumentListControllerTest.php	Wed Jan 20 16:21:40 2016 +0100
+++ b/server/src/tests/Controllers/DocumentListControllerTest.php	Wed Jan 20 16:42:20 2016 +0100
@@ -24,7 +24,7 @@
     	<http://www.w3.org/2003/01/geo/wgs84_pos#lat> "-15.77972"^^xsd:float ;
     	<http://www.w3.org/2003/01/geo/wgs84_pos#long> "-47.92972"^^xsd:float .
 
-    <###h#ttp://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-BOD092_SOUND> a <http://www.openarchives.org/ore/terms/Aggregation> ;
+    <http://corpusdelaparole.huma-num.fr/corpus/res/crdo-BOD092_SOUND> a <http://www.openarchives.org/ore/terms/Aggregation> ;
     	<http://www.europeana.eu/schemas/edm/aggregatedCHO> <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-BOD092_SOUND> ;
     	<http://www.europeana.eu/schemas/edm/dataProvider> "Corpus de la Parole"@fr ;
     	<http://www.europeana.eu/schemas/edm/hasView> <http://cocoon.huma-num.fr/data/boutet/BOD092_low.mp4> , <http://cocoon.huma-num.fr/data/boutet/BOD092_low.ogg> ;
@@ -119,11 +119,11 @@
     }
 
     public function testShow() {
-        $res_doc = new EasyRdf\Graph('http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-BOD092_SOUND',DocumentListControllerTest::GET_DOC);
+        $res_doc = new EasyRdf\Graph('http://corpusdelaparole.huma-num.fr/corpus/res/crdo-BOD092_SOUND',DocumentListControllerTest::GET_DOC);
         $this->documentRepository
             ->shouldReceive('get')
             ->once()
-            ->andReturn(new Document('http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-BOD092_SOUND', $res_doc));
+            ->andReturn(new Document('http://corpusdelaparole.huma-num.fr/corpus/res/crdo-BOD092_SOUND', $res_doc));
 
         $response = $this->visit('/bo/docs/crdo-BOD092_SOUND');