aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/app_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/app_test.go')
-rw-r--r--internal/app/app_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/app_test.go b/internal/app/app_test.go
index 34313df1..96b36707 100644
--- a/internal/app/app_test.go
+++ b/internal/app/app_test.go
@@ -464,7 +464,7 @@ func TestApp(t *testing.T) {
}
gotSys = system.New(t.Context(), msg, sPriv.uid.unwrap())
- if err := (&outcomeStateSys{config: tc.config, sys: gotSys, outcomeState: &sPriv}).toSystem(); err != nil {
+ if err := sPriv.newSys(tc.config, gotSys).toSystem(); err != nil {
t.Fatalf("toSystem: error = %#v", err)
}