|
|
@ -2,7 +2,6 @@ import 'dart:convert'; |
|
|
|
import 'dart:io'; |
|
|
|
import 'dart:io'; |
|
|
|
import 'dart:typed_data'; |
|
|
|
import 'dart:typed_data'; |
|
|
|
|
|
|
|
|
|
|
|
import 'package:crypto/crypto.dart'; |
|
|
|
|
|
|
|
import 'package:nextcloud/nextcloud.dart'; |
|
|
|
import 'package:nextcloud/nextcloud.dart'; |
|
|
|
import 'package:test/test.dart'; |
|
|
|
import 'package:test/test.dart'; |
|
|
|
|
|
|
|
|
|
|
@ -144,7 +143,7 @@ Future run(final DockerImage image) async { |
|
|
|
|
|
|
|
|
|
|
|
test('Download file', () async { |
|
|
|
test('Download file', () async { |
|
|
|
final response = await client.webdav.download('Nextcloud.png'); |
|
|
|
final response = await client.webdav.download('Nextcloud.png'); |
|
|
|
expect(sha1.convert(response).toString(), '5ab8040bc0e9a3c47f45abd8a6d44f6e381ba6ed'); |
|
|
|
expect(response, isNotEmpty); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
test('Delete file', () async { |
|
|
|
test('Delete file', () async { |
|
|
|