summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap
diff options
context:
space:
mode:
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