projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
12840: Differentiate "Cancelled" from "Failed" pipeline instances.
[arvados.git]
/
services
/
api
/
test
/
integration
/
permissions_test.rb
diff --git
a/services/api/test/integration/permissions_test.rb
b/services/api/test/integration/permissions_test.rb
index 44b5e6e377b01d7a337f748804b0e95a8de31a2d..49fa473b6b9a08460fe805708ecea385e1a7f26b 100644
(file)
--- a/
services/api/test/integration/permissions_test.rb
+++ b/
services/api/test/integration/permissions_test.rb
@@
-1,6
+1,11
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
require 'test_helper'
class PermissionsTest < ActionDispatch::IntegrationTest
require 'test_helper'
class PermissionsTest < ActionDispatch::IntegrationTest
+ include DbCurrentTime
include CurrentApiClient # for empty_collection
fixtures :users, :groups, :api_client_authorizations, :collections
include CurrentApiClient # for empty_collection
fixtures :users, :groups, :api_client_authorizations, :collections
@@
-341,11
+346,6
@@
class PermissionsTest < ActionDispatch::IntegrationTest
assert_response 404
end
assert_response 404
end
- test "get_permissions returns 404 for unreadable uuid" do
- get "/arvados/v1/permissions/#{groups(:public).uuid}", nil, auth(:active)
- assert_response 404
- end
-
test "get_permissions returns 403 if user can read but not manage" do
post "/arvados/v1/links", {
:link => {
test "get_permissions returns 403 if user can read but not manage" do
post "/arvados/v1/links", {
:link => {