summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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');