server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php
changeset 28 b0b56e0f8c7f
parent 26 72f51a9386ff
child 109 d22ed5792f8e
--- a/server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php	Fri Jan 15 15:27:56 2016 +0100
+++ b/server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php	Fri Jan 15 15:35:00 2016 +0100
@@ -152,6 +152,7 @@
         $this->assertInstanceOf(Document::class, $res, "Result must be of type Document");
         $this->assertEquals('crdo-ALA_738', $res->getId(), 'id should be crdo-ALA_738' );
         $this->assertNotNull($res->getGraph(), "Graph shoul not be null");
+        $this->assertEquals("http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-ALA_738",$res->getGraph()->getUri(), "uri of graph must be http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-ALA_738");
         $this->assertTrue(EasyRdf\Isomorphic::isomorphic($res->getGraph(),$returnedGraph));
     }