Skip to content

Commit

Permalink
Fixed some issues with unit testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Brecht-Precht committed Jul 12, 2016
1 parent 03f501a commit 0df2d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/UrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public function testInvalidArguments()
{
$this->setExpectedException(get_class(new \InvalidArgumentException()));
new QueryParameter(1, 1);
new QueryParameter('arg1', array());
$this->setExpectedException(get_class(new \InvalidArgumentException()));
new QueryParameter('arg1', new \Exception());
new Url(array());
$url = new Url('https://john:secret@mydomain.com:8443/path/to/resource');
$url->setScheme(1.4);
Expand Down

0 comments on commit 0df2d13

Please sign in to comment.