diff --git a/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs b/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs index 8517432e9d..e414f392f9 100644 --- a/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs +++ b/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs @@ -75,7 +75,7 @@ describe('ProjectStructureMongoLock', function () { }) }) - after(function (done) { + afterEach(function (done) { return LockManager._releaseLock(this.lock_key, this.lockValue, done) })