equal
deleted
inserted
replaced
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 |