aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/signout_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-12-22 21:09:35 +0800
committerGitHub <noreply@github.com>2022-12-22 21:09:35 +0800
commit8c1bb7743784bb0f0754acc7f6855432fddca653 (patch)
treeacd032818992f12eca5284a0810b831d027e79bb /tests/integration/signout_test.go
parentac5b44b2f40a8d427805470f334b2c87bc4fdd32 (diff)
downloadgitea-8c1bb7743784bb0f0754acc7f6855432fddca653.tar.gz
gitea-8c1bb7743784bb0f0754acc7f6855432fddca653.zip
Remove test session cache to reduce possible concurrent problem (#22199)
Diffstat (limited to 'tests/integration/signout_test.go')
-rw-r--r--tests/integration/signout_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/integration/signout_test.go b/tests/integration/signout_test.go
index 0416930c67..0e822ac04e 100644
--- a/tests/integration/signout_test.go
+++ b/tests/integration/signout_test.go
@@ -21,7 +21,4 @@ func TestSignOut(t *testing.T) {
// try to view a private repo, should fail
req = NewRequest(t, "GET", "/user2/repo2")
session.MakeRequest(t, req, http.StatusNotFound)
-
- // invalidate cached cookies for user2, for subsequent tests
- delete(loginSessionCache, "user2")
}