From 295a40896506c0b7da081882db983ee9a344b3ce Mon Sep 17 00:00:00 2001 From: Meghdad Date: Mon, 18 May 2026 05:55:34 +0330 Subject: [PATCH] Fixed the failing test assertions --- tests/Feature/SupportConversationTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/SupportConversationTest.php b/tests/Feature/SupportConversationTest.php index c43a0c0..52b5fbf 100644 --- a/tests/Feature/SupportConversationTest.php +++ b/tests/Feature/SupportConversationTest.php @@ -76,7 +76,7 @@ class SupportConversationTest extends TestCase 'category', 'subject', 'body', - 'attachments.0' => 'Unsupported attachment type. Upload media, PDF, text/data, Office, OpenDocument, or archive files.', + 'attachments.0' => __('Unsupported attachment type. Upload media, PDF, text/data, Office, OpenDocument, or archive files.'), ]); } @@ -93,7 +93,7 @@ class SupportConversationTest extends TestCase 'attachments' => [$attachment], ]) ->assertSessionHasErrors([ - 'attachments.0' => 'Attachments must be 200 MB or smaller.', + 'attachments.0' => __('Attachments must be 200 MB or smaller.'), ]); }