Skip to content

Commit

Permalink
Fix 5.4/5.5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
emri99 committed May 27, 2017
1 parent bc8e8c8 commit e1bb27a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/GitlabApiClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,14 @@ public function testOptions()
));
$this->assertEquals('value', $client->getOption('new_option'));
$this->assertEquals(666, $client->getOption('timeout'));
$this->expectException('InvalidArgumentException');
}

/**
* @expectedException \InvalidArgumentException
*/
public function testInvalidOptions()
{
$client = new SUT(self::BASE_PATH);
$client->getOption('missing-option');
}

Expand Down

0 comments on commit e1bb27a

Please sign in to comment.