Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix stale extension fixture after SHA retry

laurenspriem3803f22d4a38
diff --git a/mobile/apps/photos/integration_test/ml_parity_shared.dart b/mobile/apps/photos/integration_test/ml_parity_shared.dart
index 705f62f946..ff95493487 100644
--- a/mobile/apps/photos/integration_test/ml_parity_shared.dart
+++ b/mobile/apps/photos/integration_test/ml_parity_shared.dart
@@ -316,9 +316,10 @@ Future<String> _downloadFixture({
final extensionPath = "${fixtureFile.path}$extensionHint";
final extensionFile = File(extensionPath);
- if (!extensionFile.existsSync()) {
- await fixtureFile.copy(extensionPath);
+ if (extensionFile.existsSync()) {
+ await extensionFile.delete();
}
+ await fixtureFile.copy(extensionPath);
return extensionPath;
}