Skip to content

Commit a318849

Browse files
committed
Improved notices and stricts to support more PHP debug modes and inexisting pages
1 parent 343c204 commit a318849

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/JoomlaBrowser.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,12 @@ public function checkForPhpNoticesOrWarnings($page = null)
324324
}
325325

326326
$I->dontSeeInPageSource('Notice:');
327+
$I->dontSeeInPageSource('<b>Notice</b>:');
327328
$I->dontSeeInPageSource('Warning:');
329+
$I->dontSeeInPageSource('<b>Warning</b>:');
328330
$I->dontSeeInPageSource('Strict standards:');
331+
$I->dontSeeInPageSource('<b>Strict standards</b>:');
332+
$I->dontSeeInPageSource('The requested page can\'t be found');
329333
}
330334

331335
/**

0 commit comments

Comments
 (0)