From 111fbab5d2eae9dcceb0039dde93914536ec9276 Mon Sep 17 00:00:00 2001 From: Deven Bansod Date: Wed, 17 Aug 2016 18:13:21 +0530 Subject: [PATCH] Fix tests after 44760ac * Currently hard-coded the values and removed URL::getCommon() call as it was producing incorrect order of parameters in the url * Can look at a better approach for fixing the test Signed-off-by: Deven Bansod --- test/classes/navigation/NavigationTest.php | 5 +++-- test/classes/navigation/NodeDatabaseChildTest.php | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/test/classes/navigation/NavigationTest.php b/test/classes/navigation/NavigationTest.php index 23cb8df77f..3e6b22e166 100644 --- a/test/classes/navigation/NavigationTest.php +++ b/test/classes/navigation/NavigationTest.php @@ -145,8 +145,9 @@ class NavigationTest extends PMATestCase $html ); $this->assertContains( - '', $html ); diff --git a/test/classes/navigation/NodeDatabaseChildTest.php b/test/classes/navigation/NodeDatabaseChildTest.php index 42dc0330ff..90daff01d1 100644 --- a/test/classes/navigation/NodeDatabaseChildTest.php +++ b/test/classes/navigation/NodeDatabaseChildTest.php @@ -81,9 +81,9 @@ class NodeDatabaseChildTest extends PMATestCase $html ); $this->assertContains( - '', + '', $html ); }