From ebf7174c01a48b09f36abade491b835724b60feb Mon Sep 17 00:00:00 2001 From: Achmad Irianto Eka Putra Date: Mon, 25 Sep 2023 00:25:20 +0700 Subject: [PATCH] fix: go test basicauth_test.go wrong expect --- middleware/basicauth/basicauth_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/basicauth/basicauth_test.go b/middleware/basicauth/basicauth_test.go index fe66708..e6360a1 100644 --- a/middleware/basicauth/basicauth_test.go +++ b/middleware/basicauth/basicauth_test.go @@ -48,7 +48,7 @@ func Test_Middleware_BasicAuth(t *testing.T) { }, { url: "/testauth", - statusCode: fiber.StatusUnauthorized, + statusCode: fiber.StatusProxyAuthRequired, username: "john", password: "wrong", },