From a84c65f6c7c773305c0b7762ac7eb394ccc2b07f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 15 Oct 2017 18:48:12 +0200 Subject: [PATCH] Improved test. --- test/unit/email_process_identify_sender_max_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/email_process_identify_sender_max_test.rb b/test/unit/email_process_identify_sender_max_test.rb index f431c6c52..154cabf62 100644 --- a/test/unit/email_process_identify_sender_max_test.rb +++ b/test/unit/email_process_identify_sender_max_test.rb @@ -25,8 +25,8 @@ Some Text" if recipients.present? recipients += ', ' end - domain = "#{Time.zone.now.to_i}-#{rand(999_999_999)}.example.com" - email = "#{Time.zone.now.to_i}-#{rand(999_999_999)}@#{domain}" + domain = "#{Time.zone.now.to_i}-#{rand(999_999_999_999_999)}.example.com" + email = "#{Time.zone.now.to_i}-#{rand(999_999_999_999_999)}@#{domain}" recipients += email end recipients