Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-01 04:18:47 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-01 04:18:47 +0300
commitde03f00cae41b5dc9062526751fedfc97946d3d5 (patch)
treebe44eee850dfa3d648c123bd4f4c3926f5f62d7b /test
parent640ecc5c08757db555ce9b1f5af46d8421e012ac (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.php12
-rw-r--r--test/classes/Plugins/Auth/AuthenticationHttpTest.php2
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);