Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove redundant person link test case

Neeraj Gupta45109dc61b45
diff --git a/mobile/apps/photos/test/models/ml/face/person_contact_link_test.dart b/mobile/apps/photos/test/models/ml/face/person_contact_link_test.dart
index 0d15d091d7..e187374f2b 100644
--- a/mobile/apps/photos/test/models/ml/face/person_contact_link_test.dart
+++ b/mobile/apps/photos/test/models/ml/face/person_contact_link_test.dart
@@ -127,14 +127,6 @@ void main() {
"other-user",
PersonData(name: "Other", email: "[email protected]", userID: 8),
),
- PersonEntity(
- "invalid-id-person",
- PersonData(
- name: "Invalid ID",
- email: "[email protected]",
- userID: 0,
- ),
- ),
];
PersonEntity? find(int? userID, String email) =>
PersonService.findPersonForUser(
@@ -146,7 +138,6 @@ void main() {
expect(find(8, "[email protected]")?.remoteID, "other-user");
expect(find(7, "[email protected]")?.remoteID, "legacy-person");
expect(find(7, " [email protected] "), isNull);
- expect(find(7, "[email protected]")?.remoteID, "invalid-id-person");
},
);