Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove redundant shared hash injection assertion

Neeraj Gupta61c69da2800f
diff --git a/mobile/apps/photos/test/db/files_db_shared_hash_test.dart b/mobile/apps/photos/test/db/files_db_shared_hash_test.dart
index 14cef09066..de39329281 100644
--- a/mobile/apps/photos/test/db/files_db_shared_hash_test.dart
+++ b/mobile/apps/photos/test/db/files_db_shared_hash_test.dart
@@ -54,12 +54,6 @@ void main() {
);
expect(quoted.keys, ["quote'only"]);
expect(quoted["quote'only"]?.uploadedFileID, 5);
-
- final injected = await files
- .getUserOwnedFilesWithSameHashForGivenListOfFiles([
- _sharedFile("x') OR 1=1 --"),
- ], 7);
- expect(injected, isEmpty);
});
test("merges results across hash lookup batches", () async {