From 1a001d805927809e2b75b9f795b93e21dbc171d4 Mon Sep 17 00:00:00 2001 From: Andy Ford Date: Fri, 18 Aug 2023 21:08:41 +0100 Subject: [PATCH] fix: add missing trashed --- tests/Api/PluginTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Api/PluginTest.php b/tests/Api/PluginTest.php index b4d0ba7e..d1c82224 100644 --- a/tests/Api/PluginTest.php +++ b/tests/Api/PluginTest.php @@ -119,7 +119,7 @@ public function testItReturnsPluginApiDataWithDeleted() FlightInformationRegion::all() )->toArray(new Request()), 'flow_measures' => FlowMeasureResource::collection( - FlowMeasure::whereIn('id', [$active->id, $notStarted->id, $finished->id, $deleted->id])->get() + FlowMeasure::whereIn('id', [$active->id, $notStarted->id, $finished->id, $deleted->id])->withTrashed()->get() )->toArray(new Request()), ] );