fix(test): use DatabasePath field in config.Config struct literal
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 38s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 38s
This commit is contained in:
1 parent
f4a7dd5c99
commit
50ac0c8f64
1 file changed
+1
-1
@@ -34,7 +34,7 @@ func setupTestServer(t *testing.T) (*Server, *storage.Store, string) {
|
|||||||
|
|
||||||
cfg := &config.Config{
|
cfg := &config.Config{
|
||||||
Port: "8080",
|
Port: "8080",
|
||||||
DBPath: dbPath,
|
DatabasePath: dbPath,
|
||||||
JWTSecret: "test-jwt-secret-key",
|
JWTSecret: "test-jwt-secret-key",
|
||||||
AllowRegistration: true,
|
AllowRegistration: true,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user