diff options
Diffstat (limited to 'tests/unit/Xml/TXmlElementTest.php')
-rw-r--r-- | tests/unit/Xml/TXmlElementTest.php | 2 |
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()); } |