From 0e577d72cfb1ac7a715c492c3b5e2c3570eff29f Mon Sep 17 00:00:00 2001 From: Augus Date: Tue, 9 Jan 2024 18:04:25 +0100 Subject: [PATCH] Fix test for translations --- tests/Feature/Controllers/MyControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Controllers/MyControllerTest.php b/tests/Feature/Controllers/MyControllerTest.php index cb3f17a2..8fa23973 100644 --- a/tests/Feature/Controllers/MyControllerTest.php +++ b/tests/Feature/Controllers/MyControllerTest.php @@ -16,7 +16,7 @@ test('it shows breadcrumbs', function () { $user = User::factory()->create(); - actingAs($user)->get(route('my'))->assertSee('My items'); + actingAs($user)->get(route('my'))->assertSee(trans('items.my-items')); }); test('view has live components', function ($component) {