Fix some broken tests for the OAuth API endpoint.
Review Request #12117 — Created March 7, 2022 and submitted — Latest diff uploaded
There were two tests for the OAuth endpoint which were broken because
they were checking thePUT
result, but the tests were for theDELETE
operation. This wasn't caught because the test method names were typoed
and therefore weren't running (they weredef def_test...
instead of
def test...
).
Fixed the test method names and saw two new failures. Fixed the test
bodies and saw the tests pass.