diff --git a/internal/api/token_test.go b/internal/api/token_test.go index 590960229..b07d8ad27 100644 --- a/internal/api/token_test.go +++ b/internal/api/token_test.go @@ -103,6 +103,7 @@ func (ts *TokenTestSuite) TestSessionInactivityTimeout() { } defer func() { + ts.API.config.Sessions.InactivityTimeout = nil ts.API.overrideTime = nil }()