diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-11-01 04:18:47 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-11-01 04:18:47 +0300 |
commit | de03f00cae41b5dc9062526751fedfc97946d3d5 (patch) | |
tree | be44eee850dfa3d648c123bd4f4c3926f5f62d7b /test | |
parent | 640ecc5c08757db555ce9b1f5af46d8421e012ac (diff) |
Remove Core::fatalError method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/CoreTest.php | 12 | ||||
-rw-r--r-- | test/classes/Plugins/Auth/AuthenticationHttpTest.php | 2 |
2 files changed, 2 insertions, 12 deletions
diff --git a/test/classes/CoreTest.php b/test/classes/CoreTest.php index 4ac496dbfb..a2022d55dc 100644 --- a/test/classes/CoreTest.php +++ b/test/classes/CoreTest.php @@ -364,18 +364,6 @@ class CoreTest extends AbstractNetworkTestCase } /** - * Test for Core::fatalError - */ - public function testFatalErrorMessage(): void - { - $_REQUEST = []; - ResponseRenderer::getInstance()->setAjax(false); - - $this->expectOutputRegex('/FatalError!/'); - Core::fatalError('FatalError!'); - } - - /** * Test for Core::getRealSize * * @param string $size Size diff --git a/test/classes/Plugins/Auth/AuthenticationHttpTest.php b/test/classes/Plugins/Auth/AuthenticationHttpTest.php index 60f31c105d..fc13a66187 100644 --- a/test/classes/Plugins/Auth/AuthenticationHttpTest.php +++ b/test/classes/Plugins/Auth/AuthenticationHttpTest.php @@ -339,9 +339,11 @@ class AuthenticationHttpTest extends AbstractNetworkTestCase /** * @group medium + * @runInSeparateProcess */ public function testAuthFails(): void { + $GLOBALS['cfg']['Server']['host'] = ''; $_REQUEST = []; ResponseRenderer::getInstance()->setAjax(false); |