From 947c1fe156d0c8646bd7bc9735020986cfd59767 Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Fri, 23 Dec 2016 14:15:56 +1300 Subject: [PATCH] Fix broken unit test --- tests/controller/CMSMainTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controller/CMSMainTest.php b/tests/controller/CMSMainTest.php index 5af13188..1409de33 100644 --- a/tests/controller/CMSMainTest.php +++ b/tests/controller/CMSMainTest.php @@ -247,7 +247,7 @@ class CMSMainTest extends FunctionalTest { $this->assertTrue($livePage->canDelete()); // Check that the 'restore' button exists as a simple way of checking that the correct page is returned. - $this->assertRegExp('/]+name="action_(restore|revert)"/i', $response->getBody()); + $this->assertRegExp('/]+name="action_(restore|revert)"/i', $response->getBody()); } /**