Skip to content

Commit

Permalink
test: break gha
Browse files Browse the repository at this point in the history
  • Loading branch information
Bemilie committed Jul 27, 2023
1 parent bc8c67a commit 1387539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-function-offline-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [main]

jobs:
test-go-example:
go-example:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion functions/cors-go/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestHandleWithCors(t *testing.T) {
defer resp.Body.Close()

assert.Equal(t, 200, resp.StatusCode)
assert.Equal(t, "*", resp.Header.Get("Access-Control-Allow-Headers"))
assert.Equal(t, "throw error", resp.Header.Get("Access-Control-Allow-Headers"))
assert.Equal(t, "*", resp.Header.Get("Access-Control-Allow-Methods"))
assert.Equal(t, "*", resp.Header.Get("Access-Control-Allow-Origin"))
assert.Equal(t, "text/plain", resp.Header.Get("Content-Type"))
Expand Down

0 comments on commit 1387539

Please sign in to comment.