Skip to content

Commit

Permalink
chore(nextcloud): Remove unused test skip
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Apr 25, 2024
1 parent 26504af commit 291f2bf
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions packages/nextcloud/test/dashboard_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:nextcloud/nextcloud.dart';
import 'package:nextcloud_test/nextcloud_test.dart';
import 'package:test/test.dart';
import 'package:test_api/src/backend/invoker.dart';
import 'package:version/version.dart';

void main() {
presets(
Expand Down Expand Up @@ -39,14 +38,10 @@ void main() {
expect(response.body.ocs.data.keys, equals(['recommendations', 'spreed']));
});

test(
'v2',
() async {
final response = await client.dashboard.dashboardApi.getWidgetItemsV2();
expect(response.statusCode, 200);
},
skip: preset.version < Version(27, 1, 0),
);
test('v2', () async {
final response = await client.dashboard.dashboardApi.getWidgetItemsV2();
expect(response.statusCode, 200);
});
});
},
retry: retryCount,
Expand Down

0 comments on commit 291f2bf

Please sign in to comment.