From 3555b0de7f5bb3de74bd112b335d8a9b004e7fd1 Mon Sep 17 00:00:00 2001 From: Anna Dabrowska Date: Wed, 18 Oct 2023 16:58:49 +0200 Subject: [PATCH] Test: set dummy values for some globals --- _test/HelperTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_test/HelperTest.php b/_test/HelperTest.php index 0165d4e..f86e326 100644 --- a/_test/HelperTest.php +++ b/_test/HelperTest.php @@ -17,6 +17,11 @@ public function setUp(): void parent::setUp(); saveWikiText('lms', file_get_contents(__DIR__ . '/data/pages/lms.txt'), 'test'); saveWikiText('foo:lms', file_get_contents(__DIR__ . '/data/pages/lms.txt'), 'test'); + + global $ID; + global $INFO; + $ID = 'test:lms'; + $INFO['id'] = $ID; } public function testMarkRead()