aboutsummaryrefslogtreecommitdiff
path: root/internal/db/orgs_test.go
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2023-02-07 23:39:00 +0800
committerGitHub <noreply@github.com>2023-02-07 23:39:00 +0800
commit133b9d90441008ee175e1f8e6369e06309e1392a (patch)
tree70f29798055962f6700ba6a93b023a8328a5eff4 /internal/db/orgs_test.go
parent7c453d5b3632a6bbdbd99205c518303a9e25a4e1 (diff)
refactor(db): finish migrate methods off `user.go` (#7337)
Diffstat (limited to 'internal/db/orgs_test.go')
-rw-r--r--internal/db/orgs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/orgs_test.go b/internal/db/orgs_test.go
index ecc4cfcd..9989394d 100644
--- a/internal/db/orgs_test.go
+++ b/internal/db/orgs_test.go
@@ -66,7 +66,7 @@ func orgsList(t *testing.T, db *orgs) {
).Error
require.NoError(t, err)
- // TODO: Use OrgUsers.Join to replace SQL hack when the method is available.
+ // TODO: Use Orgs.Join to replace SQL hack when the method is available.
err = db.Exec(`INSERT INTO org_user (uid, org_id, is_public) VALUES (?, ?, ?)`, alice.ID, org1.ID, false).Error
require.NoError(t, err)
err = db.Exec(`INSERT INTO org_user (uid, org_id, is_public) VALUES (?, ?, ?)`, alice.ID, org2.ID, true).Error