From 92d936583b80e28fbca4d2cbc78821c7fd371d9e Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 16 Nov 2023 11:03:23 +0100 Subject: [PATCH] fix(nextcloud): Fix dashboard tests Signed-off-by: jld3103 --- packages/nextcloud/test/dashboard_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nextcloud/test/dashboard_test.dart b/packages/nextcloud/test/dashboard_test.dart index 97ba4f1a..98b13333 100644 --- a/packages/nextcloud/test/dashboard_test.dart +++ b/packages/nextcloud/test/dashboard_test.dart @@ -25,7 +25,7 @@ void main() { final response = await client.dashboard.dashboardApi.getWidgetItems(); final items = response.body.ocs.data; expect(items.keys, equals(['recommendations', 'spreed'])); - expect(items['recommendations'], hasLength(7)); + expect(items['recommendations'], hasLength(0)); expect(items['spreed'], hasLength(0)); }); @@ -33,7 +33,7 @@ void main() { final response = await client.dashboard.dashboardApi.getWidgetItemsV2(); expect(response.body.ocs.data.keys, equals(['recommendations'])); final items = response.body.ocs.data['recommendations']!.items; - expect(items, hasLength(7)); + expect(items, hasLength(0)); }); }); },