Chore: Remove DeleteOrg method from sqlstore (#59162)

remove DeleteOrg method from sqlstore
This commit is contained in:
Serge Zaitsev
2022-11-23 10:22:52 +01:00
committed by GitHub
parent 02b6b09121
commit 245a59548c
2 changed files with 1 additions and 42 deletions

View File

@@ -402,7 +402,7 @@ func TestIntegrationOrgUserDataAccess(t *testing.T) {
t.Run("Removing user from org should delete user completely if in no other org", func(t *testing.T) {
// make sure ac2 has no org
err := ss.DeleteOrg(context.Background(), &models.DeleteOrgCommand{Id: ac2.OrgID})
err := orgUserStore.Delete(context.Background(), &org.DeleteOrgCommand{ID: ac2.OrgID})
require.NoError(t, err)
// remove ac2 user from ac1 org