Skip to content

Commit

Permalink
Test: set dummy values for some globals
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Oct 18, 2023
1 parent b16c664 commit 3555b0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _test/HelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3555b0d

Please sign in to comment.