server/src/tests/Libraries/Mergers/CocoonTextRdfMergerTest.php
changeset 526 cdaf9dfb5dfd
parent 520 d6adc4047ede
equal deleted inserted replaced
525:c06db7aa1b10 526:cdaf9dfb5dfd
   237 
   237 
   238         $license = $aggregationRes->get('<http://www.europeana.eu/schemas/edm/rights>');
   238         $license = $aggregationRes->get('<http://www.europeana.eu/schemas/edm/rights>');
   239 
   239 
   240         $this->assertNotNull($license, "The licence must not be null");
   240         $this->assertNotNull($license, "The licence must not be null");
   241         $this->assertInstanceOf("EasyRdf\Resource", $license, "Licence must be a resource");
   241         $this->assertInstanceOf("EasyRdf\Resource", $license, "Licence must be a resource");
   242         $this->assertEquals(config('corpusparole.corpus_doc_default_cc_rights'), $license->getUri(), "License must be default licence");
   242         $this->assertEquals('http://creativecommons.org/licenses/by-nc-nd/4.0/', $license->getUri(), "License must be sound licence");
   243     }
   243     }
   244 
   244 
   245     public function testRightSame() {
   245     public function testRightSame() {
   246         $resGraph = $this->resGraph["SOUND_NO_MOD_TEXT"];
   246         $resGraph = $this->resGraph["SOUND_NO_MOD_TEXT"];
   247 
   247