Fix phpunit
This commit is contained in:
parent
193a3717b4
commit
3d98b7b1ac
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class WebsiteTest extends CommonClassTest
|
|||
*/
|
||||
public function testGetPagesFromSearchCriterias()
|
||||
{
|
||||
global $db;
|
||||
global $db, $website; // We need the $website as global, it is used by the getPagesFromSearchCriterias()
|
||||
|
||||
$website = new Website($db); // $website must be defined globally for getPagesFromSearchCriterias()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue