🧪 update cache test

pull/888/head
Fenny 2020-10-06 20:15:21 +02:00
parent ad06443a7a
commit b37789836d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func Test_Cache_CacheControl(t *testing.T) {
resp, err = app.Test(httptest.NewRequest("GET", "/", nil))
utils.AssertEqual(t, nil, err)
utils.AssertEqual(t, "max-age=10", resp.Header.Get(fiber.HeaderCacheControl))
utils.AssertEqual(t, "public, max-age=10", resp.Header.Get(fiber.HeaderCacheControl))
}
func Test_Cache_Expired(t *testing.T) {