@@ -19,7 +19,7 @@ import (
19
19
)
20
20
21
21
func TestAuthentication (t * testing.T ) {
22
- db := infrastructure .Connect ("file: :memory:" , 250 )
22
+ db := infrastructure .Connect (":memory:" , 250 )
23
23
app := bootstrapApp (db , & infrastructure.SMTP {}, afero .NewMemMapFs (), webserver.Config {})
24
24
25
25
data := url.Values {
@@ -82,7 +82,7 @@ func TestAuthentication(t *testing.T) {
82
82
}
83
83
84
84
func TestRecoverNoEmailService (t * testing.T ) {
85
- db := infrastructure .Connect ("file: :memory:?cache=shared" , 250 )
85
+ db := infrastructure .Connect (":memory:?cache=shared" , 250 )
86
86
app := bootstrapApp (db , & infrastructure.NoEmail {}, afero .NewMemMapFs (), webserver.Config {})
87
87
88
88
req , err := http .NewRequest (http .MethodGet , "/en/recover" , nil )
@@ -115,7 +115,7 @@ func TestRecover(t *testing.T) {
115
115
LibraryPath : "fixtures/library" ,
116
116
UploadDocumentMaxSize : 1 ,
117
117
}
118
- db = infrastructure .Connect ("file: :memory:?cache=shared" , 250 )
118
+ db = infrastructure .Connect (":memory:?cache=shared" , 250 )
119
119
smtpMock = & infrastructure.SMTPMock {}
120
120
app = bootstrapApp (db , smtpMock , afero .NewMemMapFs (), webserverConfig )
121
121
0 commit comments