From beaf0299f766f9aed08ff1c4f6a6fb69ac5978bf Mon Sep 17 00:00:00 2001 From: Ryan Baumann Date: Wed, 12 Jul 2023 09:25:41 -0400 Subject: [PATCH] Try smaller batch publication --- test/controllers/publications_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/controllers/publications_controller_test.rb b/test/controllers/publications_controller_test.rb index bbcd2233f..77879f87d 100644 --- a/test/controllers/publications_controller_test.rb +++ b/test/controllers/publications_controller_test.rb @@ -20,8 +20,8 @@ def test_should_get_index def test_should_create_new_batch assert_difference('Publication.count') do post :create_from_list, - params: { pn_id_list: 'papyri.info/hgv/3147 papyri.info/hgv/3148 papyri.info/hgv/3149 papyri.info/ddbdp/bgu;7;1520 papyri.info/ddbdp/bgu;7;1521 papyri.info/ddbdp/bgu;7;1522' } - # assert_equal 'Publication was successfully created.', flash[:notice] + params: { pn_id_list: 'papyri.info/hgv/3147 papyri.info/hgv/3148' } + assert_equal 'Publication was successfully created.', flash[:notice end assert_equal 6, assigns(:publication).identifiers.size end