diff options
Diffstat (limited to 'models/engine_test.go')
-rw-r--r-- | models/engine_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/models/engine_test.go b/models/engine_test.go index 2c93667511..66e3ef099f 100644 --- a/models/engine_test.go +++ b/models/engine_test.go @@ -5,7 +5,6 @@ package models import ( - "io/ioutil" "os" "path/filepath" "testing" @@ -19,7 +18,7 @@ import ( func TestDumpDatabase(t *testing.T) { assert.NoError(t, db.PrepareTestDatabase()) - dir, err := ioutil.TempDir(os.TempDir(), "dump") + dir, err := os.MkdirTemp(os.TempDir(), "dump") assert.NoError(t, err) type Version struct { |