Skip to content

Commit

Permalink
fix: eliminate vestigial organs of request/response from exception test
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreichtcs committed Nov 16, 2023
1 parent 09b7d60 commit ebfff8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Exceptions/SmarterUExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testAgreement() {
$message = 'No POST data detected';
$errorCode = new ErrorCode($code, $message);

$exception = new SmarterUException($message, [$errorCode], $request, $response);
$exception = new SmarterUException($message, [$errorCode]);

self::assertEquals($message, $exception->getMessage());
$errorCodes = $exception->getErrorCodes();
Expand Down

0 comments on commit ebfff8e

Please sign in to comment.