From 2675442d968bd0f89c171e851578caa23f3c4f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20=C3=96zoval=C4=B1?= Date: Tue, 26 Nov 2024 14:17:12 +0300 Subject: [PATCH] Fix a test of webhook using a locale having a 'host' variable --- test/system/avo/web_hooks_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/avo/web_hooks_test.rb b/test/system/avo/web_hooks_test.rb index bbc2c22ca7b..5da9ccd19ac 100644 --- a/test/system/avo/web_hooks_test.rb +++ b/test/system/avo/web_hooks_test.rb @@ -65,6 +65,6 @@ class Avo::WebHooksSystemTest < ApplicationSystemTestCase perform_enqueued_jobs only: ActionMailer::MailDeliveryJob - assert_equal I18n.t("mailer.web_hook_deleted.subject"), last_email.subject + assert_equal I18n.t("mailer.web_hook_deleted.subject", host: Gemcutter::HOST_DISPLAY), last_email.subject end end