Skip to content

Commit

Permalink
Maintenance: Update IP address in blocked-by-country test
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas committed May 6, 2024
1 parent 4c98b08 commit 67061df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/chat_test.rb
Expand Up @@ -626,14 +626,14 @@ def send(msg) # rubocop:disable Zammad/ForbidDefSend
name: 'country test',
max_queue: 5,
note: '',
block_country: 'AU;CH',
block_country: 'AU;CH;DE',
active: true,
updated_by_id: 1,
created_by_id: 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

0 comments on commit 67061df

Please sign in to comment.