Fix broken unit test

This commit is contained in:
Christopher Joe 2016-12-23 14:15:56 +13:00 committed by Damian Mooyman
parent 333b4b3e79
commit 947c1fe156

View File

@ -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('/<button[^>]+name="action_(restore|revert)"/i', $response->getBody());
$this->assertRegExp('/<input type="submit"[^>]+name="action_(restore|revert)"/i', $response->getBody());
}
/**