Skip to content

Commit 7565cc8

Browse files
authored
Merge pull request #61 from shouze/issues/60
🚑 Fix bad namespace usage of an exception class.
2 parents 680e539 + eeb501f commit 7565cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RestApiContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function theResponseCodeShouldBe($code)
6060
try {
6161
$this->asserter->variable($actual)->isEqualTo($expected);
6262
} catch (\Exception $e) {
63-
throw new WrongResponseExpectation($e->getMessage(), $this->restApiBrowser->getRequest(), $this->getResponse(), $e);
63+
throw new Rest\WrongResponseExpectation($e->getMessage(), $this->restApiBrowser->getRequest(), $this->getResponse(), $e);
6464
}
6565
}
6666

0 commit comments

Comments
 (0)