Fix some broken tests for the OAuth API endpoint.

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

david
Review Board
release-5.0.x
reviewboard

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.

Summary
Fix some broken tests for the OAuth API endpoint.
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to django-3.2 (7c334ce)
Loading...