diff --git a/lib/tel_selections.rb b/lib/tel_selections.rb index 96e87dacef38872c61f33745d3a243d0a04fa4de..54f2d56d6e1e0b93a551fa8a3749296d0ff33ef7 100644 --- a/lib/tel_selections.rb +++ b/lib/tel_selections.rb @@ -199,7 +199,7 @@ class TelSelections end def iris_query - { quantity: [@quantity, 100].min } + { quantity: [@quantity, 500].min } end end end diff --git a/test/test_tel_selections.rb b/test/test_tel_selections.rb index 79afc30cc508cdb7a76c89b8960bbbbcbcfeb280..d48811b54ab91d3d6d0d49d7fad3c5a4c25a700f 100644 --- a/test/test_tel_selections.rb +++ b/test/test_tel_selections.rb @@ -56,9 +56,9 @@ class TelSelectionsTest < Minitest::Test iris_query = TelSelections::ChooseTel::AvailableNumber .for(form, db: FakeDB.new, memcache: FakeMemcache.new) .instance_variable_get(:@iris_query) - # quantity should be 100 due to max inside tel selections + # quantity should be 500 due to max inside tel selections assert_equal( - { areaCode: "226", enableTNDetail: true, LCA: false, quantity: 100 }, + { areaCode: "226", enableTNDetail: true, LCA: false, quantity: 500 }, iris_query ) end