partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit ab86173843626c2da4be830e72b2323fbcf34192
parent 4907b8a10c140412e2fe0777486cd9d2d28d6f34
Author: Felicitus <felicitus@felicitus.org>
Date:   Fri, 25 Nov 2011 08:39:56 +0100

Removed old setup tests

Diffstat:
Dsetup/tests/PDOTest.php | 40----------------------------------------
Dsetup/tests/SOAPTest.php | 26--------------------------
2 files changed, 0 insertions(+), 66 deletions(-)

diff --git a/setup/tests/PDOTest.php b/setup/tests/PDOTest.php @@ -1,39 +0,0 @@ -<?php -namespace de\RaumZeitLabor\PartKeepr\setup\tests; -declare(encoding = 'UTF-8'); - -class PDOTest extends \PHPUnit_Framework_TestCase { - - - /** - * Tests if the PDO class exists. - * - * @param none - * @return nothing - * @author Felicitus <felicitus-partdb@felicitus.de> - */ - public function testPDO () { - - /* If the PDO class doesn't exist, PDO is probably not loaded. */ - if (!class_exists("\PDO")) { - $this->fail("PDO class doesn't exist. Perhaps the PDO extension is not loaded?"); - } - } - - /** - * Tests if the PDO class exists. - * - * @param none - * @return nothing - * @author Felicitus <felicitus-partdb@felicitus.de> - */ - public function testPDOMySQL () { - $drivers = \PDO::getAvailableDrivers(); - - if (!in_array("mysql", $drivers)) { - $this->fail("PDO_MySQL driver not found. Perhaps the PDO-MySQL extension is not loaded?"); - } - } - -} -?>- \ No newline at end of file diff --git a/setup/tests/SOAPTest.php b/setup/tests/SOAPTest.php @@ -1,25 +0,0 @@ -<?php -namespace de\RaumZeitLabor\PartKeepr\setup\tests; -declare(encoding = 'UTF-8'); - -class SOAPTest extends \PHPUnit_Framework_TestCase { - - - /** - * Tests if the SOAP Server class exists. - * - * @param none - * @return nothing - * @author Felicitus <felicitus-partdb@felicitus.de> - */ - public function testSOAP () { - - /* If the PDO class doesn't exist, PDO is probably not loaded. */ - if (!class_exists("\SoapServer")) { - $this->fail("SoapServer class doesn't exist. Please install the PHP SOAP Module."); - } - } - - -} -?>- \ No newline at end of file