Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
7652e667
Unverified
Commit
7652e667
authored
Oct 04, 2016
by
Thomas Müller
Browse files
Skeleton files are not copied over -> only 3 cache entries are remaining
parent
12b00a23
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files/tests/Command/DeleteOrphanedFilesTest.php
View file @
7652e667
...
...
@@ -23,8 +23,10 @@
namespace
OCA\Files\Tests\Command
;
use
OC\Files\View
;
use
OCA\Files\Command\DeleteOrphanedFiles
;
use
OCP\Files\StorageNotAvailableException
;
use
Test\TestCase
;
/**
* Class DeleteOrphanedFilesTest
...
...
@@ -33,7 +35,7 @@ use OCP\Files\StorageNotAvailableException;
*
* @package OCA\Files\Tests\Command
*/
class
DeleteOrphanedFilesTest
extends
\
Test\
TestCase
{
class
DeleteOrphanedFilesTest
extends
TestCase
{
/**
* @var DeleteOrphanedFiles
...
...
@@ -93,7 +95,7 @@ class DeleteOrphanedFilesTest extends \Test\TestCase {
$this
->
loginAsUser
(
$this
->
user1
);
$view
=
new
\
OC\Files\
View
(
'/'
.
$this
->
user1
.
'/'
);
$view
=
new
View
(
'/'
.
$this
->
user1
.
'/'
);
$view
->
mkdir
(
'files/test'
);
$fileInfo
=
$view
->
getFileInfo
(
'files/test'
);
...
...
@@ -114,7 +116,7 @@ class DeleteOrphanedFilesTest extends \Test\TestCase {
$output
->
expects
(
$this
->
once
())
->
method
(
'writeln'
)
->
with
(
'
4
orphaned file cache entries deleted'
);
->
with
(
'
3
orphaned file cache entries deleted'
);
$this
->
command
->
execute
(
$input
,
$output
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment