Skip to content

Commit

Permalink
fix ApiHandler registration test
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim committed May 26, 2015
1 parent c5f986d commit 40b4cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ApiHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testRegisterNull() {
* @expectedException \InvalidArgumentException
*/
public function testRegisterSubclassOfHandler() {
$this->api()->registerHandler( new stdClass() );
$this->api()->registerHandler( 'stdClass' );
}

/**
Expand Down

0 comments on commit 40b4cdc

Please sign in to comment.