Remove redundant test case.
authorTom Clegg <tclegg@veritasgenetics.com>
Tue, 4 Sep 2018 15:25:18 +0000 (11:25 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Tue, 4 Sep 2018 19:28:05 +0000 (15:28 -0400)
No issue #

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

services/api/test/functional/arvados/v1/groups_controller_test.rb

index 4506f76c6dd56655fb15c03677f0fddc26efb18e..cf1457ea2c78373cf8c59b3d9af2e8cc0a53d12b 100644 (file)
@@ -194,25 +194,6 @@ class Arvados::V1::GroupsControllerTest < ActionController::TestCase
     assert actually_checked_anything, "Didn't even find two items to compare."
   end
 
-  test 'list objects across multiple projects' do
-    authorize_with :project_viewer
-    get :contents, {
-      format: :json,
-      filters: [['uuid', 'is_a', 'arvados#specimen']]
-    }
-    assert_response :success
-    found_uuids = json_response['items'].collect { |i| i['uuid'] }
-    [[:in_aproject, true],
-     [:in_asubproject, true],
-     [:owned_by_private_group, false]].each do |specimen_fixture, should_find|
-      if should_find
-        assert_includes found_uuids, specimens(specimen_fixture).uuid, "did not find specimen fixture '#{specimen_fixture}'"
-      else
-        refute_includes found_uuids, specimens(specimen_fixture).uuid, "found specimen fixture '#{specimen_fixture}'"
-      end
-    end
-  end
-
   # Even though the project_viewer tests go through other controllers,
   # I'm putting them here so they're easy to find alongside the other
   # project tests.