Browse Source

Maintenance: Update IP address in blocked-by-country test

Mantas Masalskis 10 months ago
parent
commit
67061df59d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/unit/chat_test.rb

+ 2 - 2
test/unit/chat_test.rb

@@ -626,14 +626,14 @@ class ChatTest < ActiveSupport::TestCase
       name:          'country test',
       name:          'country test',
       max_queue:     5,
       max_queue:     5,
       note:          '',
       note:          '',
-      block_country: 'AU;CH',
+      block_country: 'AU;CH;DE',
       active:        true,
       active:        true,
       updated_by_id: 1,
       updated_by_id: 1,
       created_by_id: 1,
       created_by_id: 1,
     )
     )
 
 
     assert_not(chat.blocked_country?('127.0.0.1'))
     assert_not(chat.blocked_country?('127.0.0.1'))
-    assert(chat.blocked_country?('1.1.1.8'))
+    assert(chat.blocked_country?('116.203.82.166'))
   end
   end
 
 
 end
 end