server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php
changeset 111 af85c436048f
parent 19 eadaf0b8f02e
child 112 7a542145832c
--- a/server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -158,9 +158,9 @@
       */
     public function testWebResources() {
 
-        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResources');
+        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResource');
 
-        $this->assertCount(2, $resources, "Must found three webresources");
+        $this->assertCount(2, $resources, "Must found three webresource");
 
         $aggregation = $this->resGraphes['BASE']->resource(CocoonTextRdfMapperTest::TEST_GRAPH_URI);
 
@@ -180,7 +180,7 @@
       */
     public function testWebResourcesDate() {
 
-        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResources');
+        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResource');
 
         foreach ($resources as $wres) {
             $this->assertFalse($wres->hasProperty("http://purl.org/dc/terms/available"),"web resource must not have http://purl.org/dc/terms/available");