fix: address code review findings
This commit is contained in:
@@ -132,7 +132,7 @@ func TestNewApp_CreatesMusicBrainzClient(t *testing.T) {
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
app, err := NewApp(ctx, cfg)
|
||||
app, err := NewApp(ctx, cfg, ":memory:")
|
||||
if err != nil {
|
||||
t.Fatalf("NewApp returned error: %v", err)
|
||||
}
|
||||
@@ -167,7 +167,7 @@ func TestNewApp_GracefulShutdown(t *testing.T) {
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
app, err := NewApp(ctx, cfg)
|
||||
app, err := NewApp(ctx, cfg, ":memory:")
|
||||
if err != nil {
|
||||
t.Fatalf("NewApp returned error: %v", err)
|
||||
}
|
||||
@@ -195,7 +195,7 @@ func TestAppRun_GracefulShutdown(t *testing.T) {
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
|
||||
app, err := NewApp(ctx, cfg)
|
||||
app, err := NewApp(ctx, cfg, ":memory:")
|
||||
if err != nil {
|
||||
t.Fatalf("NewApp returned error: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user