From bac5503d5a4a7dada747fc77feb326046d1b84c9 Mon Sep 17 00:00:00 2001 From: Sergey Tsalkov Date: Sun, 20 Jun 2021 02:09:57 +0000 Subject: [PATCH] PHP 8 complains when trying to access closed $mysqli object, not sure how to test this properly I don't think we need this test very much, anyway --- simpletest/BasicTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/simpletest/BasicTest.php b/simpletest/BasicTest.php index 01b9a1c..016edd6 100644 --- a/simpletest/BasicTest.php +++ b/simpletest/BasicTest.php @@ -28,10 +28,6 @@ class BasicTest extends SimpleTest { `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , `name` VARCHAR( 255 ) NULL DEFAULT 'blah' ) ENGINE = InnoDB"); - - $mysqli = DB::get(); - DB::disconnect(); - @$this->assert(!$mysqli->server_info); } function test_1_5_empty_table() {