Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl committed Mar 26, 2024
1 parent 665b1fd commit a4b06bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func TestCors(t *testing.T) {
assert.Equal(t, "GET,POST,HEAD,PUT,DELETE,PATCH", resp.Header.Get("Access-Control-Allow-Methods"))
assert.Equal(t, "*", resp.Header.Get("Access-Control-Allow-Origin"))
assert.Equal(t, "", resp.Header.Get("Access-Control-Allow-Headers"))
assert.Equal(t, "", resp.Header.Get("Access-Control-Expose-Headers"))
assert.Equal(t, "Goravel", resp.Header.Get("Access-Control-Expose-Headers"))
},
},
}
Expand Down

0 comments on commit a4b06bf

Please sign in to comment.