summaryrefslogtreecommitdiff
path: root/tests/UnitTests/framework/Web/UI/utControl.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UnitTests/framework/Web/UI/utControl.php')
-rw-r--r--tests/UnitTests/framework/Web/UI/utControl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UnitTests/framework/Web/UI/utControl.php b/tests/UnitTests/framework/Web/UI/utControl.php
index b96ef644..ed2ddd22 100644
--- a/tests/UnitTests/framework/Web/UI/utControl.php
+++ b/tests/UnitTests/framework/Web/UI/utControl.php
@@ -349,7 +349,7 @@ class utControl extends UnitTestCase
$this->button1->getEventHandlers('OnClick')->clear();
try
{
- $this->button1->attachEventHandler('Click','clicked');
+ $this->button1->attachEventHandler('OnClick','clicked');
$this->fail('no exception raised when undefined event is raised');
}
catch(TInvalidOperationException $e)