Skip to content

Commit

Permalink
Merge pull request #61 from shouze/issues/60
Browse files Browse the repository at this point in the history
🚑 Fix bad namespace usage of an exception class.
  • Loading branch information
shouze authored Nov 4, 2016
2 parents 680e539 + eeb501f commit 7565cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RestApiContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function theResponseCodeShouldBe($code)
try {
$this->asserter->variable($actual)->isEqualTo($expected);
} catch (\Exception $e) {
throw new WrongResponseExpectation($e->getMessage(), $this->restApiBrowser->getRequest(), $this->getResponse(), $e);
throw new Rest\WrongResponseExpectation($e->getMessage(), $this->restApiBrowser->getRequest(), $this->getResponse(), $e);
}
}

Expand Down

0 comments on commit 7565cc8

Please sign in to comment.