mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
Delete when it is a directory...
This commit is contained in:
parent
fbcdf17089
commit
90b020cf88
1 changed files with 1 additions and 1 deletions
|
|
@ -908,7 +908,7 @@ class FeatureContext implements Context, SnippetAcceptingContext {
|
|||
for ($i=0; $i<5; $i++){
|
||||
self::removeFile("../../core/skeleton/", "textfile" . "$i" . ".txt");
|
||||
}
|
||||
if (!is_dir("../../core/skeleton/FOLDER")) {
|
||||
if (is_dir("../../core/skeleton/FOLDER")) {
|
||||
rmdir("../../core/skeleton/FOLDER");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue