summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavey Shafik <davey@php.net>2020-10-27 08:27:38 +0000
committerGitHub <noreply@github.com>2020-10-27 08:27:38 +0000
commit1c1c9a263294ea092e08475d0387607881c810e3 (patch)
tree3ecaa91b47a3a19dcdd4240ea3c134f77c08996f
parent782a57dde0385d34e9c04d5fb217cedc4210c6e3 (diff)
downloadphp7-mysql-shim-1c1c9a263294ea092e08475d0387607881c810e3.zip
php7-mysql-shim-1c1c9a263294ea092e08475d0387607881c810e3.tar.gz
php7-mysql-shim-1c1c9a263294ea092e08475d0387607881c810e3.tar.bz2
Use tear_down and tear_down_after_class
-rw-r--r--tests/MySqlShimTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/MySqlShimTest.php b/tests/MySqlShimTest.php
index 06bd9ca..68d974e 100644
--- a/tests/MySqlShimTest.php
+++ b/tests/MySqlShimTest.php
@@ -1097,12 +1097,12 @@ class MySqlShimTest extends \Yoast\PHPUnitPolyfills\TestCases\TestCase
}
}
- public function tearDown(): void
+ public function tear_down()
{
@mysql_close();
}
- public static function tearDownAfterClass(): void
+ public static function tear_down_after_class()
{
mysql_connect(static::$host, static::$username, static::$password);
foreach (self::$dbs as $db) {