--- a/server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php Thu Feb 11 15:42:27 2016 +0100
+++ b/server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php Fri Feb 12 15:30:32 2016 +0100
@@ -136,7 +136,7 @@
$resDoc = $docList[0];
$this->assertInstanceOf(Document::class, $resDoc, "Res doc must be a Document");
- $this->assertEquals('crdo-ALA_738', $resDoc->getId(), "id must be crdo...");
+ $this->assertEquals('corpusparole:crdo-ALA_738', $resDoc->getId(), "id must be crdo...");
$this->assertEquals($expectedId, $resDoc->getUri(), 'url must be ...');
$this->assertNotNull($resDoc->getGraph(), 'Graph must not be null');
@@ -150,7 +150,7 @@
$res = $this->documentRepository->get('crdo-ALA_738');
$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->assertEquals('corpusparole:crdo-ALA_738', $res->getId(), 'id should be crdo-ALA_738' );
$this->assertNotNull($res->getGraph(), "Graph shoul not be null");
$this->assertEquals("http://corpusdelaparole.huma-num.fr/corpus/res/crdo-ALA_738",$res->getGraph()->getUri(), "uri of graph must be http://corpusdelaparole.huma-num.fr/corpus/res/crdo-ALA_738");
$this->assertTrue(EasyRdf\Isomorphic::isomorphic($res->getGraph(),$returnedGraph));