bats korjaus. publish ja link rajapinta muuttunut
This commit is contained in:
@@ -8,6 +8,7 @@ setup() {
|
||||
export GITHUB_REPOSITORY="test-owner/test-repo"
|
||||
export GITHUB_SHA="abc123def456789012345678901234567890abcd"
|
||||
export GITHUB_RUN_ID="42"
|
||||
export GITHUB_REF_NAME="main"
|
||||
}
|
||||
|
||||
teardown() {
|
||||
@@ -35,7 +36,7 @@ teardown() {
|
||||
body=$(mock_get_request_body)
|
||||
[[ "$body" == *'"state":"success"'* ]]
|
||||
[[ "$body" == *'"context":"unit-test"'* ]]
|
||||
[[ "$body" == *'"target_url":"https://reports.example.com/test-owner/test-repo/reports/abc123de/cucumber/"'* ]]
|
||||
[[ "$body" == *'"target_url":"https://reports.example.com/test-owner/test-repo/main/abc123de/cucumber/"'* ]]
|
||||
}
|
||||
|
||||
@test "failure status constructs run URL when no suite" {
|
||||
|
||||
Reference in New Issue
Block a user