summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorxue <>2006-01-21 17:32:21 +0000
committerxue <>2006-01-21 17:32:21 +0000
commitb4b5920c699aac7e06a289d345e6be00c34e620a (patch)
tree72a8e58c2402e3f7e4da0ecd5a18e1f34715eb81 /tests
parent3fcf847e0cadfb9ede930f538c2f277483442175 (diff)
Diffstat (limited to 'tests')
-rw-r--r--tests/UnitTests/framework/utComponent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UnitTests/framework/utComponent.php b/tests/UnitTests/framework/utComponent.php
index 98466b31..cfd40ce8 100644
--- a/tests/UnitTests/framework/utComponent.php
+++ b/tests/UnitTests/framework/utComponent.php
@@ -155,7 +155,7 @@ class utComponent extends UnitTestCase
public function testAttachEventHandler()
{
$this->component->attachEventHandler('OnMyEvent','foo');
- $this->assertTrue($this->component->getEventHandlers('MyEvent')->getCount()===1);
+ $this->assertTrue($this->component->getEventHandlers('OnMyEvent')->getCount()===1);
try
{
$this->component->attachEventHandler('YourEvent','foo');