Merge pull request #19335 from owncloud/phil-davis-view-typos
Comment typos in tests/lib/files/view.php
This commit is contained in:
commit
bf4c144c6f
|
@ -889,7 +889,7 @@ class View extends \Test\TestCase {
|
|||
|
||||
// False negatives: chroot fixes those by adding the leading slash.
|
||||
// But setting them up with this root (instead of chroot($root))
|
||||
// will fail them, althought they should be the same.
|
||||
// will fail them, although they should be the same.
|
||||
// TODO init should be fixed, so it also adds the leading slash
|
||||
array('files/', '/files/', $missingRootExpectedPath),
|
||||
array('files', '/files/', $missingRootExpectedPath),
|
||||
|
@ -1371,7 +1371,7 @@ class View extends \Test\TestCase {
|
|||
|
||||
$thrown = false;
|
||||
try {
|
||||
// this actually acquires two locks, one on the mount point and one no the storage root,
|
||||
// this actually acquires two locks, one on the mount point and one on the storage root,
|
||||
// but the one on the storage root will fail
|
||||
$view->lockFile('/mountpoint.txt', ILockingProvider::LOCK_SHARED);
|
||||
} catch (\OCP\Lock\LockedException $e) {
|
||||
|
|
Loading…
Reference in New Issue