diff options
Diffstat (limited to 'daemon/algod/api/server/lib/middlewares/auth_test.go')
-rw-r--r-- | daemon/algod/api/server/lib/middlewares/auth_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/algod/api/server/lib/middlewares/auth_test.go b/daemon/algod/api/server/lib/middlewares/auth_test.go index 544875f37..b0dd0fe26 100644 --- a/daemon/algod/api/server/lib/middlewares/auth_test.go +++ b/daemon/algod/api/server/lib/middlewares/auth_test.go @@ -21,6 +21,7 @@ import ( "net/http" "testing" + "github.com/algorand/go-algorand/test/partitiontest" "github.com/labstack/echo/v4" "github.com/stretchr/testify/require" ) @@ -36,6 +37,8 @@ func success(ctx echo.Context) error { } func TestAuth(t *testing.T) { + partitiontest.PartitionTest(t) + tokens := []string{"token1", "token2"} tests := []struct { |