From 2adb4185d0505ee46feafc13acd83d5d55c6d396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 23 Aug 2012 10:03:11 +0200 Subject: [PATCH] Use regexp here as well --- test/libraries/PMA_operations_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libraries/PMA_operations_test.php b/test/libraries/PMA_operations_test.php index 06c91014e1..15a5316c2b 100644 --- a/test/libraries/PMA_operations_test.php +++ b/test/libraries/PMA_operations_test.php @@ -146,8 +146,8 @@ class PMA_operations_test extends PHPUnit_Framework_TestCase */ public function testPMA_getMaintainActionlink(){ - $this->assertEquals( - '
  • post
  • ', + $this->assertRegExp( + '/.*href="tbl_operations.php.*post.*/', PMA_getMaintainActionlink( "post", array("name" => 'foo', "value" => 'bar'),