From 6b9a7d3ad97dd5bd7743b6abc8b7ce1171357182 Mon Sep 17 00:00:00 2001 From: Sergio Bertolin Date: Tue, 9 Aug 2016 08:24:03 +0000 Subject: [PATCH] Removed extra context added needed option and remove storage after external storage scenarios Conflicts: build/integration/features/bootstrap/BasicStructure.php build/integration/run.sh --- .../features/bootstrap/BasicStructure.php | 1 - .../bootstrap/ExternalStorageContext.php | 24 ------------------- .../features/external-storage.feature | 2 +- 3 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 build/integration/features/bootstrap/ExternalStorageContext.php diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php index b1b7fd5525..519f0c1957 100644 --- a/build/integration/features/bootstrap/BasicStructure.php +++ b/build/integration/features/bootstrap/BasicStructure.php @@ -358,6 +358,5 @@ trait BasicStructure { $file->isDir() ? rmdir($file) : unlink($file); } } - } diff --git a/build/integration/features/bootstrap/ExternalStorageContext.php b/build/integration/features/bootstrap/ExternalStorageContext.php deleted file mode 100644 index 90dc06cf57..0000000000 --- a/build/integration/features/bootstrap/ExternalStorageContext.php +++ /dev/null @@ -1,24 +0,0 @@ -isDir() ? rmdir($file) : unlink($file); - } - } -} diff --git a/build/integration/features/external-storage.feature b/build/integration/features/external-storage.feature index ac8bd971ed..9e53b01346 100644 --- a/build/integration/features/external-storage.feature +++ b/build/integration/features/external-storage.feature @@ -3,6 +3,7 @@ Feature: external-storage Given using api version "1" Given using dav path "remote.php/webdav" + @local_storage Scenario: Share by link a file inside a local external storage Given user "user0" exists And user "user1" exists @@ -21,6 +22,5 @@ Feature: external-storage | url | AN_URL | | token | A_TOKEN | | mimetype | httpd/unix-directory | - And Public shared file "/foo/textfile0.txt" can be downloaded