commit ca7b297d109c86f4099520d987783233dafe65d0 parent efad4009ae8277e31360b36d022f44b6914ebe07 Author: mtrnord <mtrnord1@gmail.com> Date: Sun, 4 Oct 2015 20:31:58 +0200 still not working :/ Diffstat:
| M | tests/mysqliLoadedTest.php | | | 10 | ++++------ |
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/tests/mysqliLoadedTest.php b/tests/mysqliLoadedTest.php @@ -1,15 +1,13 @@ <?php class mysqliLoadedTest extends PHPUnit_Framework_TestCase { - $obj = new mysqliLoadedTest(); - $this->assertTrue($obj->testForMysqli()); - $this->assertTrue($obj->tryDBConnection()); - public function __construct() + public function startLoaderTest() { + $obj = new mysqliLoadedTest(); + $this->assertTrue($obj->testForMysqli()); + $this->assertTrue($obj->tryDBConnection()); } - - public function testForMysqli() { if (!extension_loaded('mysqli')) {