Fix some broken tests for the OAuth API endpoint.

Review Request #12117 — Created March 7, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

There were two tests for the OAuth endpoint which were broken because
they were checking the PUT result, but the tests were for the DELETE
operation. This wasn't caught because the test method names were typoed
and therefore weren't running (they were def 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.

Commits

Files