Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 8b644ab

Browse files
author
ABaldwinHunter
committed
add message key to tests with error state
1 parent 874028a commit 8b644ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/github_pull_requests_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def test_pull_request_status_error
6969
github_slug: "pbrisbin/foo",
7070
commit_sha: "abc123",
7171
state: "error",
72+
message: "Code Climate encountered an error while attempting to analyze this pull request.",
7273
})
7374
end
7475

@@ -112,6 +113,7 @@ def test_no_status_update_for_error_when_update_status_config_is_falsey
112113
github_slug: "pbrisbin/foo",
113114
commit_sha: "abc123",
114115
state: "error",
116+
message: "Code Climate encountered an error while attempting to analyze this pull request.",
115117
})
116118
end
117119

0 commit comments

Comments
 (0)