summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-10 06:42:01 +0200
committerDavid <ottodavid@gmx.net>2015-08-10 17:22:33 +0200
commit2bf1a517f3edc1bd43b8e3340f0f6fd31b1ba94a (patch)
tree285d7182be15299d8c0cdac1bd8aa1e397fa69d4 /tests/unit/Data/SqlMap
parent92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 (diff)
fix unit tests
Diffstat (limited to 'tests/unit/Data/SqlMap')
-rw-r--r--tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php4
-rw-r--r--tests/unit/Data/SqlMap/DynamicParameterTest.php7
2 files changed, 7 insertions, 4 deletions
diff --git a/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php b/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php
index 3f5493c7..99118927 100644
--- a/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php
+++ b/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php
@@ -1,8 +1,8 @@
<?php
-Prado::using('System.Data.SqlMap.DataMapper.TSqlMapException');
-Prado::using('System.Data.SqlMap.DataMapper.TPropertyAccess');
+use Prado\Data\SqlMap\DataMapper\TPropertyAccess;
+
/**
* @package System.Data.SqlMap.DataMapper
diff --git a/tests/unit/Data/SqlMap/DynamicParameterTest.php b/tests/unit/Data/SqlMap/DynamicParameterTest.php
index 136111db..414f819f 100644
--- a/tests/unit/Data/SqlMap/DynamicParameterTest.php
+++ b/tests/unit/Data/SqlMap/DynamicParameterTest.php
@@ -1,8 +1,11 @@
<?php
-Prado::using('System.Data.*');
-Prado::using('System.Data.SqlMap.*');
+use Prado\Data\SqlMap\TSqlMapManager;
+use Prado\Data\TDbConnection;
+use Prado\Prado;
+use Prado\TApplication;
+
/**
* @package System.Data.SqlMap