fix chunking tests

This commit is contained in:
Robin Appelman 2015-08-12 16:44:43 +02:00 committed by Thomas Müller
parent 75f126da49
commit 9202d2f45a

View file

@ -210,7 +210,9 @@ class File extends \Test\TestCase {
$caughtException = null;
try {
// last chunk
$file->acquireLock(ILockingProvider::LOCK_SHARED);
$file->put('test data two');
$file->releaseLock(ILockingProvider::LOCK_SHARED);
} catch (\Exception $e) {
$caughtException = $e;
}