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' ); } /**