Skip to content

Commit 62af92e

Browse files
leg100ilans
authored andcommitted
fix(tests): using test ctx breaks integration tests
1 parent 9e9ec93 commit 62af92e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/integration/daemon_helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func setup(t *testing.T, opts ...configOption) (*testDaemon, *organization.Organ
106106
}
107107

108108
// Confer superuser privileges on all calls to service endpoints
109-
ctx := authz.AddSubjectToContext(t.Context(), &authz.Superuser{Username: "app-user"})
109+
ctx := authz.AddSubjectToContext(context.Background(), &authz.Superuser{Username: "app-user"})
110110

111111
d, err := daemon.New(ctx, logger, cfg.Config)
112112
require.NoError(t, err)

0 commit comments

Comments
 (0)