Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENT-8510] - fix: SSO tool not updating SSO records if no form fields are changed #1183

Merged
merged 4 commits into from
Mar 15, 2024

Conversation

hamzawaleed01
Copy link
Member

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

Copy link

codecov bot commented Mar 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.38%. Comparing base (135cb6e) to head (fc7f0a6).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1183   +/-   ##
=======================================
  Coverage   85.38%   85.38%           
=======================================
  Files         498      498           
  Lines       10862    10864    +2     
  Branches     2290     2291    +1     
=======================================
+ Hits         9274     9276    +2     
  Misses       1544     1544           
  Partials       44       44           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 112 to 116
await LmsApiService.fetchEnterpriseSsoOrchestrationRecord(
formFields?.uuid
).catch(() => {
return { data: {} };
});
Copy link
Member Author

@hamzawaleed01 hamzawaleed01 Mar 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alex-sheehan-edx I just gone reviewed code again, formFields is supposed to have many other attributes given here.

So, can we use any keys from formFields instead of making this separate API call?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated ✅

@hamzawaleed01 hamzawaleed01 changed the title [ENT-8510] - fix: SSO tool not update SSO records if no form fields are changed [ENT-8510] - fix: SSO tool not updating SSO records if no form fields are changed Mar 12, 2024
@hamzawaleed01 hamzawaleed01 marked this pull request as ready for review March 13, 2024 08:45
@hamzawaleed01 hamzawaleed01 merged commit 1ea9233 into master Mar 15, 2024
6 checks passed
@hamzawaleed01 hamzawaleed01 deleted the hamza/ENT-8510 branch March 15, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants