Skip to content

Commit c4cdf0e

Browse files
committed
update comment
1 parent ea3f1e4 commit c4cdf0e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/hello-world/__tests__/hello-world.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const users = [
2626
beforeAll(async () => {
2727
({ pg, db, teardown } = await getConnections());
2828

29-
// insert users using pg PgTestClient to bypass RLS (supabase auth.users table is not granted access)
29+
// insert users using pg PgTestClient to bypass RLS (required to insert into supabase auth.users)
3030
user1 = await insertUser(pg, users[0].email, users[0].id);
3131
user2 = await insertUser(pg, users[1].email, users[1].id);
3232
user3 = await insertUser(pg, users[2].email, users[2].id);

packages/hello-world/__tests__/seeding/seeding.csv.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import path from 'path';
22
import { getConnections, PgTestClient, seed } from 'supabase-test';
33
import { users } from './data/seed-data';
44

5-
// pg is used to have RLS bypass (supabase auth.users table is not granted access)
5+
// pg is used to have RLS bypass (required to insert into supabase auth.users)
66
let db: PgTestClient;
77
// db is used to test the RLS policies in test cases
88
let pg: PgTestClient;

packages/hello-world/__tests__/seeding/seeding.json.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { getConnections, PgTestClient, seed } from 'supabase-test';
22
import { pets, users } from './data/seed-data';
33

4-
// pg is used to have RLS bypass (supabase auth.users table is not granted access)
4+
// pg is used to have RLS bypass (required to insert into supabase auth.users)
55
let db: PgTestClient;
66
// db is used to test the RLS policies in test cases
77
let pg: PgTestClient;

packages/hello-world/__tests__/seeding/seeding.sql.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { getConnections, PgTestClient, seed } from 'supabase-test';
22
import path from 'path';
33
import { users } from './data/seed-data';
44

5-
// pg is used to have RLS bypass (supabase auth.users table is not granted access)
5+
// pg is used to have RLS bypass (required to insert into supabase auth.users)
66
let db: PgTestClient;
77
// db is used to test the RLS policies in test cases
88
let pg: PgTestClient;

0 commit comments

Comments
 (0)