20300: Merge similar test cases and fix query cache sensitivity.
authorTom Clegg <tom@curii.com>
Mon, 25 Sep 2023 14:05:23 +0000 (10:05 -0400)
committerTom Clegg <tom@curii.com>
Fri, 29 Sep 2023 14:14:14 +0000 (10:14 -0400)
commit4b58bfc5b58db18e4816102f9850757f0884a42e
treeff8f444cca477db12fee0dbbda266e9f0fc3704d
parent322ff98d31140a365faa48e9dc78fc079c4b1ee9
20300: Merge similar test cases and fix query cache sensitivity.

Token expiration tests needlessly relied on the Rails < 7.0 behavior
of disabling the query cache during tests, such that successive calls
to db_current_time would never return equal times.

Merged the admin and non-admin test cases, since they have the same
structure and nearly the same expectations.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/api/test/integration/api_client_authorizations_api_test.rb