diff -r 08c99d286e7c -r b37fde30dd4a server/src/tests/Repositories/DocumentRepositoryTest.php --- a/server/src/tests/Repositories/DocumentRepositoryTest.php Thu Feb 11 15:42:27 2016 +0100 +++ b/server/src/tests/Repositories/DocumentRepositoryTest.php Fri Feb 12 15:30:32 2016 +0100 @@ -109,7 +109,7 @@ $resDoc = $res[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 be not null'); } @@ -127,7 +127,7 @@ $res = $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->assertTrue(EasyRdf\Isomorphic::isomorphic($res->getGraph(), new EasyRdf\Graph($expectedId, DocumentRepositoryTest::TEST_DOC))); }