From 4acb257eec3fcb531a81f0465123dc70437a4490 Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Thu, 18 May 2023 15:04:27 +0200 Subject: [PATCH] nextcloud: adapt unit test --- packages/nextcloud/test/core.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/nextcloud/test/core.dart b/packages/nextcloud/test/core.dart index bd53f964..12e52c74 100644 --- a/packages/nextcloud/test/core.dart +++ b/packages/nextcloud/test/core.dart @@ -1,4 +1,3 @@ -import 'package:built_collection/built_collection.dart'; import 'package:nextcloud/nextcloud.dart'; import 'package:test/test.dart'; @@ -68,10 +67,10 @@ Future run(final DockerImage image) async { search: '', itemType: 'call', itemId: 'new', - shareTypes: BuiltList([ + shareTypes: [ ShareType.user.code, ShareType.group.code, - ]), + ], ); expect(response.ocs.data, hasLength(3));