Skip to content

Commit b9cb29f

Browse files
committed
suppress fsockopen warnings in ConceptTest
1 parent a2c0a1a commit b9cb29f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ConceptTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ public function testGetMappingPropertiesWithIdenticalLabels()
227227
{
228228
$vocab = $this->model->getVocabulary('duplicates');
229229
$concept = $vocab->getConceptInfo("http://www.skosmos.skos/dup/d3", "en");
230-
$props = $concept->getMappingProperties();
230+
// suppress fsockopen PHP warnings caused by trying to resolve www.skosmos.skos
231+
@$props = $concept->getMappingProperties();
231232
$values = $props['skos:closeMatch']->getValues();
232233
$this->assertCount(2, $values);
233234
}

0 commit comments

Comments
 (0)