Skip to content

Commit

Permalink
Fix test for translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Autive committed Jan 9, 2024
1 parent 654e76c commit 0e577d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/Controllers/MyControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0e577d7

Please sign in to comment.