diff options
Diffstat (limited to 'mediaapi/routing/upload_test.go')
-rw-r--r-- | mediaapi/routing/upload_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediaapi/routing/upload_test.go b/mediaapi/routing/upload_test.go index e81254f3..b2c2f5a4 100644 --- a/mediaapi/routing/upload_test.go +++ b/mediaapi/routing/upload_test.go @@ -51,7 +51,7 @@ func Test_uploadRequest_doUpload(t *testing.T) { _ = os.Mkdir(testdataPath, os.ModePerm) defer fileutils.RemoveDir(types.Path(testdataPath), nil) - db, err := storage.Open(&config.DatabaseOptions{ + db, err := storage.NewMediaAPIDatasource(&config.DatabaseOptions{ ConnectionString: "file::memory:?cache=shared", MaxOpenConnections: 100, MaxIdleConnections: 2, |