mitodl / micromasters

Portal for learners and course teams to access MITx Micromasters® programs
https://mm.mit.edu
BSD 3-Clause "New" or "Revised" License
28 stars 16 forks source link

Test should not try to refresh token #5382

Closed annagav closed 2 months ago

annagav commented 2 months ago

What are the relevant tickets?

Related to #3878

Description (What does it do?)

Updates a test not call edx api and patch the call instead. The test was not working properly because we didn't patch ExamAuthorization to return no object. This test is checking to see that a user is authorized before we try enroll them for an exam run.

How can this be tested?

Tests should pass.

shanbady commented 2 months ago

there is a js failure. dont think its related to this change though