diff --git a/test/classes/PMA_Error_test.php b/test/classes/PMA_Error_test.php index e1c0569253..65abd7033f 100644 --- a/test/classes/PMA_Error_test.php +++ b/test/classes/PMA_Error_test.php @@ -65,7 +65,7 @@ class PMA_Error_test extends PHPUnit_Framework_TestCase */ public function testSetFile(){ $this->object->setFile('./pma.txt'); - $this->assertEquals('./../../../../..', $this->object->getFile()); + $this->assertStringStartsWith('./../../', $this->object->getFile()); } /**