summaryrefslogtreecommitdiffstats
path: root/integrations/create_no_session_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/create_no_session_test.go')
-rw-r--r--integrations/create_no_session_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/integrations/create_no_session_test.go b/integrations/create_no_session_test.go
index d6b3634268..a76ff1eaaf 100644
--- a/integrations/create_no_session_test.go
+++ b/integrations/create_no_session_test.go
@@ -5,7 +5,6 @@
package integrations
import (
- "io/ioutil"
"net/http"
"net/http/httptest"
"os"
@@ -69,7 +68,7 @@ func TestSessionFileCreation(t *testing.T) {
config.Provider = "file"
// Now create a temporaryDirectory
- tmpDir, err := ioutil.TempDir("", "sessions")
+ tmpDir, err := os.MkdirTemp("", "sessions")
assert.NoError(t, err)
defer func() {
if _, err := os.Stat(tmpDir); !os.IsNotExist(err) {