• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / gotrue / 8128253143
65%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2024 06:16AM UTC
Jobs 1
Files 114
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Mar 2024 06:11AM UTC coverage: 65.011% (+0.04%) from 64.97%
8128253143

push

github

web-flow
feat: clean up test setup in MFA tests (#1452)

## What kind of change does this PR introduce?

Remove redundant test setup, particularly around `TestSecondarySession`.
- Changes `generateToken` into `generateAAL1Token`
- Abstracts adding the claim and reloading a session into a single
method. Was probably a mistake to add
[AMREntry](https://github.com/supabase/gotrue/blob/<a class=hub.com/supabase/gotrue/commit/e9f38e76d8a7b93c5c2bb0de918a9b156155f018">e9f38e76d/internal/models/sessions.go#L38).
Should sync to use
[AMRClaim](https://github.com/supabase/gotrue/blob/e9f38e76d8a7b93c5c2bb0de918a9b156155f018/internal/models/amr.go)
at some point
- Add additional check that a provider fields must exist if there's an
SSO Claim on the last entry

---------

Co-authored-by: joel <joel@joels-MacBook-Pro.local>

7841 of 12061 relevant lines covered (65.01%)

58.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8128253143.1 03 Mar 2024 06:16AM UTC 0
65.01
GitHub Action Run
Source Files on build 8128253143
Detailed source file information is not available for this build.
  • Back to Repo
  • 7185af8d on github
  • Prev Build on master (#8127599779)
  • Next Build on master (#8131693966)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc