diff options
Diffstat (limited to 'tests/unit/Data')
-rw-r--r-- | tests/unit/Data/DataGateway/AllTests.php | 2 | ||||
-rw-r--r-- | tests/unit/Data/DataGateway/TSqlCriteriaTest.php | 2 | ||||
-rw-r--r-- | tests/unit/Data/SqlMap/AllTests.php | 2 | ||||
-rw-r--r-- | tests/unit/Data/SqlMap/DataMapper/AllTests.php | 2 | ||||
-rw-r--r-- | tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php | 2 | ||||
-rw-r--r-- | tests/unit/Data/SqlMap/DynamicParameterTest.php | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/Data/DataGateway/AllTests.php b/tests/unit/Data/DataGateway/AllTests.php index f3405613..f9ba1ddc 100644 --- a/tests/unit/Data/DataGateway/AllTests.php +++ b/tests/unit/Data/DataGateway/AllTests.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + if(!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Data_DataGateway_AllTests::main'); diff --git a/tests/unit/Data/DataGateway/TSqlCriteriaTest.php b/tests/unit/Data/DataGateway/TSqlCriteriaTest.php index 043520e7..fb9c72b2 100644 --- a/tests/unit/Data/DataGateway/TSqlCriteriaTest.php +++ b/tests/unit/Data/DataGateway/TSqlCriteriaTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + Prado::using('System.Data.DataGateway.TSqlCriteria'); diff --git a/tests/unit/Data/SqlMap/AllTests.php b/tests/unit/Data/SqlMap/AllTests.php index 2f820f83..3adaa29c 100644 --- a/tests/unit/Data/SqlMap/AllTests.php +++ b/tests/unit/Data/SqlMap/AllTests.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + if(!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Data_SqlMap_AllTests::main'); diff --git a/tests/unit/Data/SqlMap/DataMapper/AllTests.php b/tests/unit/Data/SqlMap/DataMapper/AllTests.php index 9e80e7c8..47b8522f 100644 --- a/tests/unit/Data/SqlMap/DataMapper/AllTests.php +++ b/tests/unit/Data/SqlMap/DataMapper/AllTests.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + if(!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Data_SqlMap_DataMapper_AllTests::main'); diff --git a/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php b/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php index b48363f1..61747c6b 100644 --- a/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php +++ b/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + Prado::using('System.Data.SqlMap.DataMapper.TSqlMapException'); Prado::using('System.Data.SqlMap.DataMapper.TPropertyAccess'); diff --git a/tests/unit/Data/SqlMap/DynamicParameterTest.php b/tests/unit/Data/SqlMap/DynamicParameterTest.php index 0bd5334e..64f5e35c 100644 --- a/tests/unit/Data/SqlMap/DynamicParameterTest.php +++ b/tests/unit/Data/SqlMap/DynamicParameterTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + Prado::using('System.Data.*'); Prado::using('System.Data.SqlMap.*'); |