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

fix: LTI providers should not be shown unless enabled #416

Merged
merged 3 commits into from
Dec 19, 2022

Conversation

zacharis278
Copy link
Contributor

MST-1713

Two places because of the old view that should be deprecated in https://2u-internal.atlassian.net/browse/MST-1677

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Base: 72.39% // Head: 74.26% // Increases project coverage by +1.87% 🎉

Coverage data is based on head (43297c2) compared to base (2f6eed2).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #416      +/-   ##
==========================================
+ Coverage   72.39%   74.26%   +1.87%     
==========================================
  Files         106      106              
  Lines        2061     2067       +6     
  Branches      510      512       +2     
==========================================
+ Hits         1492     1535      +43     
+ Misses        540      504      -36     
+ Partials       29       28       -1     
Impacted Files Coverage Δ
src/pages-and-resources/proctoring/Settings.jsx 97.95% <100.00%> (+19.20%) ⬆️
.../proctored-exam-settings/ProctoredExamSettings.jsx 94.76% <100.00%> (+0.08%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zacharis278 zacharis278 changed the title fix: LTI providers should not be available unless enabled fix: LTI providers should not be shown unless enabled Dec 16, 2022
@@ -463,8 +463,10 @@ describe('ProctoredExamSettings', () => {
});

it('Does not include lti_external as a selectable option', async () => {
const courseData = mockGetFutureCourseData;
courseData.available_proctoring_providers = ['lti_external', 'proctortrack', 'mockproc'];
const courseData = {
Copy link
Contributor

Choose a reason for hiding this comment

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

What was happening here? Was it sharing the same object across tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah exactly, this intent was to copy it not modify it.

@zacharis278 zacharis278 merged commit abff65a into master Dec 19, 2022
@zacharis278 zacharis278 deleted the zhancock/filter-lti-fix branch December 19, 2022 15:46
bradenmacdonald pushed a commit to open-craft/frontend-app-authoring that referenced this pull request Aug 9, 2024
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