Refactor: Change sqlstore.inTransaction to SQLStore.WithTransactional… (#43823)

* Refactor: Change sqlstore.inTransaction to SQLStore.WithTransactionalDBSession in user files

* update milesone
This commit is contained in:
Katarina Yang
2022-01-10 11:28:41 -05:00
committed by GitHub
parent b404aae9c3
commit 5bab02c7ef
4 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ func TestAccountDataAccess(t *testing.T) {
t.Run("Can set using org", func(t *testing.T) {
cmd := models.SetUsingOrgCommand{UserId: ac2.Id, OrgId: ac1.OrgId}
err := SetUsingOrg(context.Background(), &cmd)
err := sqlStore.SetUsingOrg(context.Background(), &cmd)
require.NoError(t, err)
t.Run("SignedInUserQuery with a different org", func(t *testing.T) {