From f3e3183498e17530b0b59ba8ac0e937bc30f76b2 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 14 Aug 2024 14:23:41 -0400 Subject: [PATCH] 21910: Comment system root token fixture. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- services/api/test/fixtures/api_client_authorizations.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/api/test/fixtures/api_client_authorizations.yml b/services/api/test/fixtures/api_client_authorizations.yml index cf137bf9b1..112906729f 100644 --- a/services/api/test/fixtures/api_client_authorizations.yml +++ b/services/api/test/fixtures/api_client_authorizations.yml @@ -4,6 +4,13 @@ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html +# This record's api_token is the SystemRootToken used by the test +# suite (in fact, sdk/python/tests/run_test_server.py copies it from +# this file into the test suite config file). That token is accepted +# regardless of database contents (see +# ApiClientAuthorization.check_system_root_token) but having a fixture +# for it allows test cases to access it the same way as other token +# fixtures, i.e., api_client_authorizations(:system_user). system_user: uuid: zzzzz-gj3su-000000000000000 user: system_user -- 2.30.2