Anton Khorev
84f3bd6e91
Move user preferences routes to api namespace
2024-12-20 06:00:54 +03:00
Tom Hughes
4d221fd7a6
Simplify creation of bearer authorization headers
...
Uses the new features added to the bearer_authorization_header while
dropping basic authentication support to simplify the creation of bearer
authorization headers for API tests.
2024-09-03 18:54:05 +01:00
Tom Hughes
973d62a25e
Drop support for basic authentication
2024-09-02 19:00:57 +01:00
Tom Hughes
1a7d68ccbc
Convert tests using OAuth 1 tokens to use OAuth 2 tokens
2024-07-25 16:55:47 +01:00
Tom Hughes
334c856021
Test unicode values in user preference keys and values
2024-05-16 17:51:33 +01:00
Andy Allan
6bb18436a3
Add tests for routing and to ensure output format
...
This avoids the tests passing if the json output is an array of kv pairs,
instead of the desired hash of attributes.
2021-04-14 16:11:57 +01:00
Michal Migurski
a968c1b923
Added test for user prefs JSON response
2021-04-09 14:28:13 -07:00
Tom Hughes
7ffa2e96be
Refactor users_controller_test and user_preferences_controller_test
2020-05-07 19:34:48 +01:00
Tom Hughes
1f4d48eaf3
Fix some deprecation warnings
2019-11-24 11:05:02 +00:00
Andy Allan
25ebf87e5a
Rename UserPreference controller methods to follow rails conventions more closely
2019-11-20 16:09:48 +01:00
Andy Allan
9186a6155c
Move the user preferences controller into the api namespace
2019-02-24 12:47:26 +01:00