commit 83e2138aacacef0e2d01dd10b59056df51d4aafa parent 20fd488951abbee0634837e2ab4cfdfee039cbd9 Author: Marcel <MTRNord@users.noreply.github.com> Date: Sun, 4 Oct 2015 15:33:19 +0200 Create mysqliLoadedTest.php Diffstat:
| A | Tests/mysqliLoadedTest.php | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/Tests/mysqliLoadedTest.php b/Tests/mysqliLoadedTest.php @@ -0,0 +1,13 @@ +<?php +class mysqliLoadedTest extends PHPUnit_Framework_TestCase +{ + public function testForMysqli() + { + if (!extension_loaded('mysqli')) { + $this->markTestSkipped('[mysqliLoadedTest]->[testForMysqli()]: The MySQLi extension is not available'); + }else{ + fwrite(STDERR, print_r('[mysqliLoadedTest]->[testForMysqli()]: The MySQLi extension is available', TRUE)); + } + } +} +?>