projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18874: Merge branch 'main' from arvados-workbench2.git
[arvados.git]
/
apps
/
workbench
/
test
/
controllers
/
disabled_api_test.rb
diff --git
a/apps/workbench/test/controllers/disabled_api_test.rb
b/apps/workbench/test/controllers/disabled_api_test.rb
index 556b958d00a8f0fe50c1a9af9d81b62c2eeb1771..9144564c912bb96735b4ce967e06b2e1795ec30e 100644
(file)
--- a/
apps/workbench/test/controllers/disabled_api_test.rb
+++ b/
apps/workbench/test/controllers/disabled_api_test.rb
@@
-59,7
+59,7
@@
class DisabledApiTest < ActionController::TestCase
test "project tabs as user #{user} when pipeline related index APIs are disabled" do
@controller = ProjectsController.new
test "project tabs as user #{user} when pipeline related index APIs are disabled" do
@controller = ProjectsController.new
- Rails.configuration.
anonymous_user_t
oken = api_fixture('api_client_authorizations')['anonymous']['api_token']
+ Rails.configuration.
Users.AnonymousUserT
oken = api_fixture('api_client_authorizations')['anonymous']['api_token']
dd = ArvadosApiClient.new_or_current.discovery.deep_dup
dd[:resources][:pipeline_templates][:methods].delete(:index)
dd = ArvadosApiClient.new_or_current.discovery.deep_dup
dd[:resources][:pipeline_templates][:methods].delete(:index)