summaryrefslogtreecommitdiff
path: root/tests/unit/Xml/TXmlElementTest.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-20 16:49:53 +0000
committerctrlaltca@gmail.com <>2011-06-20 16:49:53 +0000
commita0d269954534e09c0b9c0f73c927b6eb764c21d9 (patch)
tree16dd9eba670fb6cca0e787ce5b715985bcca63b7 /tests/unit/Xml/TXmlElementTest.php
parent444579affdb1d09813b2be89a59c4f10c8f4ba9b (diff)
some fixes on tests
Diffstat (limited to 'tests/unit/Xml/TXmlElementTest.php')
-rw-r--r--tests/unit/Xml/TXmlElementTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Xml/TXmlElementTest.php b/tests/unit/Xml/TXmlElementTest.php
index 89baed03..ec560a1c 100644
--- a/tests/unit/Xml/TXmlElementTest.php
+++ b/tests/unit/Xml/TXmlElementTest.php
@@ -61,7 +61,7 @@ class TXmlElementTest extends PHPUnit_Framework_TestCase {
self::assertEquals(null, $element->getElementByTagName('first'));
$element->Elements[] = new TXmlElement('first');
$first = $element->getElementByTagName('first');
- self::assertType('TXmlElement', $first);
+ self::assertInstanceOf('TXmlElement', $first);
self::assertEquals('first', $first->getTagName());
}