summaryrefslogtreecommitdiff
path: root/tests/unit/Xml
diff options
context:
space:
mode:
authortof <>2007-12-11 07:33:26 +0000
committertof <>2007-12-11 07:33:26 +0000
commitc0cff04fba123dce9b91ecf13282571debbe6e6a (patch)
tree7a3dfcbae980eaa1e658810c1f1ee256b7e978fd /tests/unit/Xml
parentbfa6bb80c959affbc36b672a2165be3ff3847405 (diff)
Clean up some unit tests to allow them run with PHPUnit 3.1+
Diffstat (limited to 'tests/unit/Xml')
-rw-r--r--tests/unit/Xml/TXmlElementListTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Xml/TXmlElementListTest.php b/tests/unit/Xml/TXmlElementListTest.php
index 91e09267..16384078 100644
--- a/tests/unit/Xml/TXmlElementListTest.php
+++ b/tests/unit/Xml/TXmlElementListTest.php
@@ -11,7 +11,7 @@ class TXmlElementListTest extends PHPUnit_Framework_TestCase {
public function testConstruct() {
$element=new TXmlElement('tag');
$list=new TXmlElementList($element);
- self::assertEquals($element,self::getAttribute($list, '_o'));
+ self::assertEquals($element,self::readAttribute($list, '_o'));
}
public function testInsertAt() {