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