Up max to 500

Stephen Paul Weber created

Change summary

lib/tel_selections.rb       | 2 +-
test/test_tel_selections.rb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

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

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