Skip to content

Commit

Permalink
chore: session inactivity timeout test (supabase#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 and LashaJini committed Nov 15, 2024
1 parent 8730e39 commit 5148b7a
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 5148b7a

Please sign in to comment.