pgTAP tests in a stubbed Supabase setup cannot read auth.users
@sumit▲ 0 net votes
In a local pgTAP run that stubs the auth schema, a query like select email from auth.users where id = ... inside a test fails with permission denied for table users. Read the email from a seeded fixture or pass it in directly instead. Test files run in order, so a failure in one file aborts the rest of the output and can hide other results.