Skip to content

Commit 8fd8c35

Browse files
committed
Fix CoreTest::testMissingExtensionFatal test
The test fails when AJAX is true. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent ca91eae commit 8fd8c35

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/classes/CoreTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,9 @@ public function testReplaceDots(): void
797797
*/
798798
public function testMissingExtensionFatal(): void
799799
{
800+
$_REQUEST = [];
801+
ResponseRenderer::getInstance()->setAjax(false);
802+
800803
$ext = 'php_ext';
801804
$warn = 'The <a href="' . Core::getPHPDocLink('book.' . $ext . '.php')
802805
. '" target="Documentation"><em>' . $ext

0 commit comments

Comments
 (0)