From a31884949ab927f383929542b606d42d30802271 Mon Sep 17 00:00:00 2001 From: Tito Alvarez Date: Tue, 4 Aug 2015 12:11:00 -0600 Subject: [PATCH] Improved notices and stricts to support more PHP debug modes and inexisting pages --- src/JoomlaBrowser.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/JoomlaBrowser.php b/src/JoomlaBrowser.php index 00fab6e..be1390c 100644 --- a/src/JoomlaBrowser.php +++ b/src/JoomlaBrowser.php @@ -324,8 +324,12 @@ public function checkForPhpNoticesOrWarnings($page = null) } $I->dontSeeInPageSource('Notice:'); + $I->dontSeeInPageSource('Notice:'); $I->dontSeeInPageSource('Warning:'); + $I->dontSeeInPageSource('Warning:'); $I->dontSeeInPageSource('Strict standards:'); + $I->dontSeeInPageSource('Strict standards:'); + $I->dontSeeInPageSource('The requested page can\'t be found'); } /**