Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

fix(tests): update state initialization in compose_test.go

Dmitry Ng7a8113273040
diff --git a/backend/cmd/installer/processor/compose_test.go b/backend/cmd/installer/processor/compose_test.go
index 1405ede0..ccf87f6f 100644
--- a/backend/cmd/installer/processor/compose_test.go
+++ b/backend/cmd/installer/processor/compose_test.go
@@ -38,7 +38,7 @@ services:
// to simulate the bug scenario
// Initialize state
- appState, err := state.New(envPath)
+ appState, err := state.NewState(envPath)
if err != nil {
t.Fatalf("Failed to initialize state: %v", err)
}
@@ -109,7 +109,7 @@ func TestPerformStackOperationSkipsMissingFiles(t *testing.T) {
}
// Initialize state
- appState, err := state.New(envPath)
+ appState, err := state.NewState(envPath)
if err != nil {
t.Fatalf("Failed to initialize state: %v", err)
}