summaryrefslogtreecommitdiff
path: root/tests/unit/Xml
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/Xml
parent92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 (diff)
fix unit tests
Diffstat (limited to 'tests/unit/Xml')
-rw-r--r--tests/unit/Xml/TXmlDocumentTest.php5
-rw-r--r--tests/unit/Xml/TXmlElementListTest.php5
-rw-r--r--tests/unit/Xml/TXmlElementTest.php4
3 files changed, 11 insertions, 3 deletions
diff --git a/tests/unit/Xml/TXmlDocumentTest.php b/tests/unit/Xml/TXmlDocumentTest.php
index 54e4b5aa..a04402d8 100644
--- a/tests/unit/Xml/TXmlDocumentTest.php
+++ b/tests/unit/Xml/TXmlDocumentTest.php
@@ -1,6 +1,9 @@
<?php
-Prado::using('System.Xml.TXmlDocument');
+use Prado\Exceptions\TIOException;
+use Prado\Xml\TXmlDocument;
+use Prado\Xml\TXmlElement;
+
/**
* @package System.Xml
diff --git a/tests/unit/Xml/TXmlElementListTest.php b/tests/unit/Xml/TXmlElementListTest.php
index 7667c64d..1f42285d 100644
--- a/tests/unit/Xml/TXmlElementListTest.php
+++ b/tests/unit/Xml/TXmlElementListTest.php
@@ -1,6 +1,9 @@
<?php
-Prado::using('System.Xml.TXmlDocument');
+use Prado\Exceptions\TInvalidDataTypeException;
+use Prado\Xml\TXmlElement;
+use Prado\Xml\TXmlElementList;
+
/**
* @package System.Xml
diff --git a/tests/unit/Xml/TXmlElementTest.php b/tests/unit/Xml/TXmlElementTest.php
index 49cae36f..49bd41ec 100644
--- a/tests/unit/Xml/TXmlElementTest.php
+++ b/tests/unit/Xml/TXmlElementTest.php
@@ -1,6 +1,8 @@
<?php
-Prado::using('System.Xml.TXmlDocument');
+use Prado\Collections\TMap;
+use Prado\Xml\TXmlElement;
+
/**
* @package System.Xml