Skip to content

Commit 6f2ff80

Browse files
committed
Fix test
1 parent 5949cdb commit 6f2ff80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/WebhookHandler/Bitbucket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function test_request_incomplete(): void {
135135
$request->add_header( 'x-hub-signature-256', $signature );
136136
$response = rest_get_server()->dispatch( $request );
137137

138-
$this->assertErrorResponse( 400, $response );
138+
$this->assertErrorResponse( 'rest_forbidden', $response, 400 );
139139
}
140140

141141
public function test_valid_project(): void {

0 commit comments

Comments
 (0)