Skip to content

Commit 78fe628

Browse files
authored
Fix Bref tests (#154)
1 parent b51448a commit 78fe628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Lambda/LambdaClientTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ public function handle($event, Context $context)
189189

190190
// Check the lambda result contains the error message
191191
$error = json_decode((string) $eventFailureLog->getBody(), true);
192-
$this->assertSame('Error while calling the Lambda runtime API: The requested URL returned error: 400 Bad Request', $error['errorMessage']);
192+
$this->assertSame('Error while calling the Lambda runtime API: The requested URL returned error: 400', $error['errorMessage']);
193193

194-
$this->assertErrorInLogs('Exception', 'Error while calling the Lambda runtime API: The requested URL returned error: 400 Bad Request');
194+
$this->assertErrorInLogs('Exception', 'Error while calling the Lambda runtime API: The requested URL returned error: 400');
195195
}
196196

197197
public function test function results that cannot be encoded are reported as invocation errors()

0 commit comments

Comments
 (0)