Skip to content

Commit

Permalink
chore: session inactivity timeout test (#1303)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?
* Set inactivity timeout to nil when the test completes
  • Loading branch information
kangmingtay authored Nov 8, 2023
1 parent 9226979 commit 4e382f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func (ts *TokenTestSuite) TestSessionInactivityTimeout() {
}

defer func() {
ts.API.config.Sessions.InactivityTimeout = nil
ts.API.overrideTime = nil
}()

Expand Down

0 comments on commit 4e382f3

Please sign in to comment.