From 88399a4880f48b7892ecce04c169cd1c83cb8895 Mon Sep 17 00:00:00 2001 From: Angelo Lamonaca <69331077+angelolamonaca@users.noreply.github.com> Date: Sat, 5 Oct 2024 09:00:07 +0200 Subject: [PATCH] Fix reqPath for bypass check for verify EP --- internal/api/middleware_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/middleware_test.go b/internal/api/middleware_test.go index 77065e5b34..e5337cfb42 100644 --- a/internal/api/middleware_test.go +++ b/internal/api/middleware_test.go @@ -540,7 +540,7 @@ func (ts *MiddlewareTestSuite) TestIsValidAuthorizedEmail() { }, { desc: "bypass check for verify endpoint", - reqPath: "/token", + reqPath: "/verify", body: map[string]interface{}{ "email": "valid@example.com", },