diff --git a/test/lib/smooch_nlu_test.rb b/test/lib/smooch_nlu_test.rb index dddcdec083..d21e8e6e45 100644 --- a/test/lib/smooch_nlu_test.rb +++ b/test/lib/smooch_nlu_test.rb @@ -110,7 +110,7 @@ def create_team_with_smooch_bot_installed team = create_team_with_smooch_bot_installed SmoochNlu.new(team.slug).disable! Bot::Smooch.get_installation('smooch_id', 'test') - assert_equal [], SmoochNlu.menu_options_from_message('I want to subscribe to the newsletter', 'en', @menu_options) + assert_equal [], SmoochNlu.menu_options_from_message('I want to subscribe to the newsletter', 'en', @menu_options, random_string) end test 'should return a menu option if NLU is enabled' do @@ -120,6 +120,6 @@ def create_team_with_smooch_bot_installed team = create_team_with_smooch_bot_installed SmoochNlu.new(team.slug).enable! Bot::Smooch.get_installation('smooch_id', 'test') - assert_not_nil SmoochNlu.menu_options_from_message('I want to subscribe to the newsletter', 'en', @menu_options) + assert_not_nil SmoochNlu.menu_options_from_message('I want to subscribe to the newsletter', 'en', @menu_options, random_string) end end