mirror of https://github.com/gofiber/fiber.git
Align structs
parent
d1865491b6
commit
7ae39c4d14
|
@ -60,9 +60,9 @@ type RedirectConfig struct {
|
|||
// CookieConfig is a struct that holds the cookie configuration for the redirect.
|
||||
type CookieConfig struct {
|
||||
Name string
|
||||
SameSite string
|
||||
HTTPOnly bool
|
||||
Secure bool
|
||||
SameSite string
|
||||
}
|
||||
|
||||
// AcquireRedirect return default Redirect reference from the redirect pool
|
||||
|
|
|
@ -244,8 +244,8 @@ func Test_Redirect_Route_WithFlashMessages_RedirectConfig(t *testing.T) {
|
|||
|
||||
tests := []struct {
|
||||
name string
|
||||
cookieConfig CookieConfig
|
||||
expectedValue string
|
||||
cookieConfig CookieConfig
|
||||
}{
|
||||
{
|
||||
name: "Default RedirectConfig",
|
||||
|
|
Loading…
Reference in New Issue