We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5949cdb commit 6f2ff80Copy full SHA for 6f2ff80
1 file changed
tests/phpunit/tests/WebhookHandler/Bitbucket.php
@@ -135,7 +135,7 @@ public function test_request_incomplete(): void {
135
$request->add_header( 'x-hub-signature-256', $signature );
136
$response = rest_get_server()->dispatch( $request );
137
138
- $this->assertErrorResponse( 400, $response );
+ $this->assertErrorResponse( 'rest_forbidden', $response, 400 );
139
}
140
141
public function test_valid_project(): void {
0 commit comments