From 3c842876dbc271d924a1b13d7fb1046de98dfa69 Mon Sep 17 00:00:00 2001 From: Jan Oppolzer Date: Thu, 1 Aug 2024 13:22:04 +0200 Subject: [PATCH] Fix a test in DeviceControllerTest --- tests/Feature/Http/Controllers/DeviceControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Http/Controllers/DeviceControllerTest.php b/tests/Feature/Http/Controllers/DeviceControllerTest.php index 4086c1b..27ea374 100644 --- a/tests/Feature/Http/Controllers/DeviceControllerTest.php +++ b/tests/Feature/Http/Controllers/DeviceControllerTest.php @@ -289,7 +289,7 @@ public function a_user_with_permissions_can_see_devices_details(): void ->followingRedirects() ->get(route('devices.show', $device)) ->assertOk() - ->assertSeeTextInOrder([$device->mac, $device->name, $device->description ?? '--']); + ->assertSeeTextInOrder([$device->mac, $device->name, $device->description]); } #[Test]