projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git]
/
apps
/
workbench
/
test
/
unit
/
user_test.rb
diff --git
a/apps/workbench/test/unit/user_test.rb
b/apps/workbench/test/unit/user_test.rb
index fa9a69d38097041b05c988eef8691a79d2182df3..a73e506d14ae6f7a4983da03be5e4105920cca5e 100644
(file)
--- a/
apps/workbench/test/unit/user_test.rb
+++ b/
apps/workbench/test/unit/user_test.rb
@@
-16,7
+16,7
@@
class UserTest < ActiveSupport::TestCase
test "User.current doesn't return anonymous user when using invalid token" do
# Set up anonymous user token
test "User.current doesn't return anonymous user when using invalid token" do
# Set up anonymous user token
- 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']
# First, try with a valid user
use_token :active
u = User.current
# First, try with a valid user
use_token :active
u = User.current