From 40b4cdcc18871ec3105b9bb688983e671fc12e71 Mon Sep 17 00:00:00 2001 From: darthmaim Date: Tue, 26 May 2015 23:27:37 +0200 Subject: [PATCH] fix ApiHandler registration test --- tests/ApiHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ApiHandlerTest.php b/tests/ApiHandlerTest.php index 46e2528..ec510f5 100644 --- a/tests/ApiHandlerTest.php +++ b/tests/ApiHandlerTest.php @@ -52,7 +52,7 @@ public function testRegisterNull() { * @expectedException \InvalidArgumentException */ public function testRegisterSubclassOfHandler() { - $this->api()->registerHandler( new stdClass() ); + $this->api()->registerHandler( 'stdClass' ); } /**