Ran
|
Jobs
1
|
Files
114
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
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
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 8128253143.1 | 114 |
65.01 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|