summaryrefslogtreecommitdiff
path: root/tests/unit/Caching
diff options
context:
space:
mode:
authorctrlaltca <>2012-11-18 19:08:27 +0000
committerctrlaltca <>2012-11-18 19:08:27 +0000
commit6dff17fee04f8b8a1f35ec8e9afe65ae32b2684c (patch)
treee8e9f9b44ba7975aca3b96f736daa1728b59fe2c /tests/unit/Caching
parentdd2fbb7ff2ce3d9885c18a978c79294a13ed9025 (diff)
Reworked the "test" task in order to make it work again:
- it will use the system PHPUnit installation if available (bundled PHPUnit with prado is no more a choice) - fixed tests in order to be compatible with recent phpunit versions (currently 3.7) - dropped old tests referring to unexisting components (NOTE: this includes what seems a test suite for an older version of SQLMap) Added some svn-ignore properties
Diffstat (limited to 'tests/unit/Caching')
-rw-r--r--tests/unit/Caching/TDirectoryCacheDependencyTest.php4
-rw-r--r--tests/unit/Caching/TFileCacheDependencyTest.php4
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/unit/Caching/TDirectoryCacheDependencyTest.php b/tests/unit/Caching/TDirectoryCacheDependencyTest.php
index 786720da..c5c75dec 100644
--- a/tests/unit/Caching/TDirectoryCacheDependencyTest.php
+++ b/tests/unit/Caching/TDirectoryCacheDependencyTest.php
@@ -1,11 +1,9 @@
<?php
-require_once(dirname(__FILE__).'/../phpunit2.php');
-
/**
* @package System.Caching
*/
-class TDirectoryCacheDependencyTest extends PHPUnit2_Framework_TestCase
+class TDirectoryCacheDependencyTest extends PHPUnit_Framework_TestCase
{
public function setUp()
{
diff --git a/tests/unit/Caching/TFileCacheDependencyTest.php b/tests/unit/Caching/TFileCacheDependencyTest.php
index 6b61aed6..b4bc89d3 100644
--- a/tests/unit/Caching/TFileCacheDependencyTest.php
+++ b/tests/unit/Caching/TFileCacheDependencyTest.php
@@ -1,11 +1,9 @@
<?php
-require_once(dirname(__FILE__).'/../phpunit2.php');
-
/**
* @package System.Caching
*/
-class TFileCacheDependencyTest extends PHPUnit2_Framework_TestCase
+class TFileCacheDependencyTest extends PHPUnit_Framework_TestCase
{
public function setUp()
{