diff --git a/tests/ConceptTest.php b/tests/ConceptTest.php index 5921ea9ff..f85cbcae0 100644 --- a/tests/ConceptTest.php +++ b/tests/ConceptTest.php @@ -110,6 +110,9 @@ public function testSetFoundBy() */ public function testGetForeignLabels() { + # make sure UK English collation is being used as the default + setlocale(LC_ALL, "en_GB.utf8"); + $labels = $this->concept->getForeignLabels(); $this->assertEquals('Karppi', $labels['Finnish']['prefLabel'][0]->getLabel());