Skip to content

Commit 5cfd801

Browse files
committed
Fix UtilTest::testBackquoteForbidenWords() failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent d1c2c6e commit 5cfd801

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/classes/UtilTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,8 @@ public static function providerForTestBackquote(): array
11661166
*/
11671167
public function testBackquoteForbidenWords(): void
11681168
{
1169+
Context::load();
1170+
$this->assertNotEmpty(Context::$keywords);
11691171
foreach (Context::$keywords as $keyword => $type) {
11701172
if ($type & Token::FLAG_KEYWORD_RESERVED) {
11711173
$this->assertEquals(

0 commit comments

Comments
 (0)