diff --git a/test/support/helpers/remote.js b/test/support/helpers/remote.js index 9a147694e1..abc83533b1 100644 --- a/test/support/helpers/remote.js +++ b/test/support/helpers/remote.js @@ -174,7 +174,7 @@ class RemoteTestHelpers { return _.chain(await this.tree()) .map(p => _.nth(p.match(TRASH_REGEXP), 1)) .compact() - .map(p => p.replace(/\(__cozy__: \d+\)/, '(__cozy__: ...)')) + .map(p => p.replace(/\(\d+\)/, '(...)')) .value() }