From 9eb286be46ee89c2d78861402ee407160b0aaa41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 18 Jul 2012 15:33:53 +0200 Subject: [PATCH] Saner test as the real patch can be always different --- test/classes/PMA_Error_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } /**