From 542cccaecc2a3fc6cda223d076ad4a59b31889a3 Mon Sep 17 00:00:00 2001 From: Kristin Laemmert Date: Thu, 22 Dec 2022 15:14:09 +0100 Subject: [PATCH] flapflapflapflap - "organization not found" is really annoying (#60628) flapflapflapflap --- pkg/tests/testinfra/testinfra.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tests/testinfra/testinfra.go b/pkg/tests/testinfra/testinfra.go index 9d1550f56eb..97d156e54f8 100644 --- a/pkg/tests/testinfra/testinfra.go +++ b/pkg/tests/testinfra/testinfra.go @@ -380,6 +380,7 @@ func CreateUser(t *testing.T, store *sqlstore.SQLStore, cmd user.CreateUserComma store.Cfg.AutoAssignOrg = true store.Cfg.AutoAssignOrgId = 1 + cmd.OrgID = 1 quotaService := quotaimpl.ProvideService(store, store.Cfg) orgService, err := orgimpl.ProvideService(store, store.Cfg, quotaService)