diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-17 12:06:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 12:06:16 -0600 |
commit | 4a9ce18cedfbf09288a1829e90388879adc8b8d4 (patch) | |
tree | 81ab9062cfce81ab48d8b1f0601db5c7dd9e22ce /build/integration/features/bootstrap/BasicStructure.php | |
parent | 96ea85d01d037ded7e5c96db5cf60de5a9e472e8 (diff) | |
download | nextcloud-server-4a9ce18cedfbf09288a1829e90388879adc8b8d4.tar.gz nextcloud-server-4a9ce18cedfbf09288a1829e90388879adc8b8d4.zip |
Revert "Add integration test for trashbin"
Diffstat (limited to 'build/integration/features/bootstrap/BasicStructure.php')
-rw-r--r-- | build/integration/features/bootstrap/BasicStructure.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php index 7933068b3b3..8e1fcf86ba1 100644 --- a/build/integration/features/bootstrap/BasicStructure.php +++ b/build/integration/features/bootstrap/BasicStructure.php @@ -35,7 +35,6 @@ require __DIR__ . '/../../vendor/autoload.php'; trait BasicStructure { use Auth; - use Trashbin; /** @var string */ private $currentUser = ''; @@ -355,6 +354,16 @@ trait BasicStructure { } /** + * @When User :user empties trashbin + * @param string $user + */ + public function emptyTrashbin($user) { + $body = new \Behat\Gherkin\Node\TableNode([['allfiles', 'true'], ['dir', '%2F']]); + $this->sendingToWithDirectUrl('POST', "/index.php/apps/files_trashbin/ajax/delete.php", $body); + $this->theHTTPStatusCodeShouldBe('200'); + } + + /** * @When Sleep for :seconds seconds * @param int $seconds */ |