Skip to content

Commit c29ec03

Browse files
author
Mathieu Dumoulin
committed
Forgot to change caught class in in test
1 parent a0dfad3 commit c29ec03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/StandardExceptions/HTTPExceptionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public function testBadRequestException()
88
{
99
throw new \StandardExceptions\HTTPExceptions\BadRequestException('Test message passed', 92837, $previousException = new \Exception('test'));
1010
}
11-
catch(\StandardExceptions\HTTPExceptions\IllegalArgumentTypeException $ex)
11+
catch(\StandardExceptions\HTTPExceptions\BadRequestException $ex)
1212
{
1313
$this->assertEquals('Test message passed', $ex->getMessage());
1414
$this->assertEquals(92837, $ex->getCode());

0 commit comments

Comments
 (0)