server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php
changeset 26 72f51a9386ff
parent 19 eadaf0b8f02e
child 28 b0b56e0f8c7f
equal deleted inserted replaced
25:4ce76c9e7729 26:72f51a9386ff
   136         $resDoc = $docList[0];
   136         $resDoc = $docList[0];
   137 
   137 
   138         $this->assertInstanceOf(Document::class, $resDoc, "Res doc must be a Document");
   138         $this->assertInstanceOf(Document::class, $resDoc, "Res doc must be a Document");
   139         $this->assertEquals('crdo-ALA_738', $resDoc->getId(), "id must be crdo...");
   139         $this->assertEquals('crdo-ALA_738', $resDoc->getId(), "id must be crdo...");
   140         $this->assertEquals($expectedId, $resDoc->getUri(), 'url must be ...');
   140         $this->assertEquals($expectedId, $resDoc->getUri(), 'url must be ...');
   141         $this->assertNull($resDoc->getGraph(), 'Graph must be null');
   141         $this->assertNotNull($resDoc->getGraph(), 'Graph must not be null');
   142 
   142 
   143     }
   143     }
   144 
   144 
   145     public function testGet() {
   145     public function testGet() {
   146 
   146