From: Tom Clegg Date: Wed, 15 May 2019 18:41:23 +0000 (-0400) Subject: 14287: Fix test fixture PDH. X-Git-Tag: 2.0.0~282^2~35 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/817ed99ed100cf7adb9e3ad06d74598e0fb2c207 14287: Fix test fixture PDH. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/apps/workbench/test/controllers/application_controller_test.rb b/apps/workbench/test/controllers/application_controller_test.rb index 1b13d8f328..b908c46def 100644 --- a/apps/workbench/test/controllers/application_controller_test.rb +++ b/apps/workbench/test/controllers/application_controller_test.rb @@ -325,9 +325,9 @@ class ApplicationControllerTest < ActionController::TestCase # Each pdh has more than one collection; however, we should get only one for each assert collections.size == 2, 'Expected two objects in the preloaded collection hash' assert collections[pdh1], 'Expected collections for the passed in pdh #{pdh1}' - assert_equal collections[pdh1].size, 1, 'Expected one collection for the passed in pdh #{pdh1}' + assert_equal collections[pdh1].size, 1, "Expected one collection for the passed in pdh #{pdh1}" assert collections[pdh2], 'Expected collections for the passed in pdh #{pdh2}' - assert_equal collections[pdh2].size, 1, 'Expected one collection for the passed in pdh #{pdh2}' + assert_equal collections[pdh2].size, 1, "Expected one collection for the passed in pdh #{pdh2}" end test "requesting a nonexistent object returns 404" do diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml index 5024ecc96b..47a0950ae0 100644 --- a/services/api/test/fixtures/collections.yml +++ b/services/api/test/fixtures/collections.yml @@ -101,7 +101,7 @@ baz_file: w_a_z_file: uuid: zzzzz-4zz18-25k12570yk134b3 current_version_uuid: zzzzz-4zz18-25k12570yk134b3 - portable_data_hash: 8706aadd12a0ebc07d74cae88762ba9e+56 + portable_data_hash: 44a8da9ec82098323895cd14e178386f+56 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2015-02-09T10:53:38Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr