fix: address code review findings

This commit is contained in:
2026-07-19 20:06:41 +03:00
parent b21bf07208
commit 4da5ee5f8c
4 changed files with 13 additions and 12 deletions

View File

@@ -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)
}