Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

feat: add mock auth plugin #478

Merged
merged 1 commit into from
Jul 26, 2022
Merged

feat: add mock auth plugin #478

merged 1 commit into from
Jul 26, 2022

Conversation

toadfanszz
Copy link
Contributor

@toadfanszz toadfanszz commented Jul 26, 2022

Wrap https://github.com/omniauth/omniauth/blob/master/lib/omniauth/strategies/developer.rb as a mock-auth plugin, which provide a develop provider and only enabled in development / test / cicd environment.

@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Merging #478 (afedcb4) into main (63fb1b5) will decrease coverage by 0.00%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##             main     #478      +/-   ##
==========================================
- Coverage   69.59%   69.59%   -0.01%     
==========================================
  Files        1069     1069              
  Lines       18351    18356       +5     
  Branches     2563     2563              
==========================================
+ Hits        12772    12775       +3     
- Misses       5258     5260       +2     
  Partials      321      321              
Flag Coverage Δ
backend-unit 87.56% <100.00%> (+0.01%) ⬆️
frontend-unit 65.31% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
apps/client-web/src/routes/accounts/sign-up.tsx 0.00% <0.00%> (ø)
apps/server-monolith/config/application.rb 100.00% <100.00%> (ø)
...lith/app/graphql/mutations/create_direct_upload.rb 84.37% <0.00%> (+1.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63fb1b5...afedcb4. Read the comment docs.

@toadfanszz toadfanszz merged commit 740f649 into main Jul 26, 2022
@toadfanszz toadfanszz deleted the feat-add-mock-auth-plugin branch July 26, 2022 07:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

account Api for e2e
3 participants