summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap/DataMapper
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-17 09:45:24 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-17 09:45:24 +0200
commit7dbca97c478e34b2d7a7c47f1bc18ba7d7ce1525 (patch)
tree381bda2e192ecfae33c83d7f1c972894bc1cf562 /tests/unit/Data/SqlMap/DataMapper
parent4117b88528ba9a7d3fbdf3248aeb8ca0f7c37455 (diff)
Chnages in phpunit's bootstrap script; should hopefully fix travis
Diffstat (limited to 'tests/unit/Data/SqlMap/DataMapper')
-rw-r--r--tests/unit/Data/SqlMap/DataMapper/AllTests.php2
-rw-r--r--tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php2
2 files changed, 2 insertions, 2 deletions
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');