Skip to content

Commit 030828b

Browse files
committed
fix test with newer version of packages
1 parent 28e618c commit 030828b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/TH/Lock/FileLockSpec.php

+2
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,7 @@ public function it_can_acquire_then_release_and_acquire_again()
119119
if (flock(fopen($this->lock_file, 'r'), LOCK_SH|LOCK_NB)) {
120120
throw new Exception('Lock file was not exclusively locked');
121121
}
122+
123+
$this->release();
122124
}
123125
}

0 commit comments

Comments
 (0)