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
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2021-04-20 23:21:17 +0300
committerWilliam Desportes <williamdes@wdes.fr>2021-04-20 23:26:01 +0300
commit3eb0c770fcc4796909f8a696cbca50f83f28f415 (patch)
tree235d9cb55b7e143c0ce56dd16c4e759bf6bd4679 /test/classes
parentf8ebd7ad7b3759a7a44ec0dbb313f1b8d47b4238 (diff)
Replace assertFileDoesNotExist for older phpunit versions
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/classes')
-rw-r--r--test/classes/ConfigTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/classes/ConfigTest.php b/test/classes/ConfigTest.php
index 17c4424e81..3e6e8842a3 100644
--- a/test/classes/ConfigTest.php
+++ b/test/classes/ConfigTest.php
@@ -13,6 +13,7 @@ use function array_replace_recursive;
use function constant;
use function define;
use function defined;
+use function file_exists;
use function file_put_contents;
use function filemtime;
use function fileperms;
@@ -113,7 +114,7 @@ class ConfigTest extends AbstractTestCase
// Teardown
unlink($tmpConfig);
- $this->assertFileDoesNotExist($tmpConfig);
+ $this->assertFalse(file_exists($tmpConfig));
}
/**
@@ -163,7 +164,7 @@ class ConfigTest extends AbstractTestCase
// Teardown
unlink($tmpConfig);
- $this->assertFileDoesNotExist($tmpConfig);
+ $this->assertFalse(file_exists($tmpConfig));
}
/**