Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-31 20:13:43 +0300
committerJoas Schilling <coding@schilljs.com>2022-03-31 20:18:58 +0300
commit3099ca9fa23b971ebe51f069f20aa4b5e22e6f80 (patch)
tree0cb13eac17f2b22e96712b6dff1f117e5ec9e232 /tests
parent7fe2cf5c54b2f9b4584d639ab66d89d36b28bc76 (diff)
Also clear attachments from tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/spreedcheats/lib/Controller/ApiController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration/spreedcheats/lib/Controller/ApiController.php b/tests/integration/spreedcheats/lib/Controller/ApiController.php
index 13f9753cd..712041f15 100644
--- a/tests/integration/spreedcheats/lib/Controller/ApiController.php
+++ b/tests/integration/spreedcheats/lib/Controller/ApiController.php
@@ -51,6 +51,9 @@ class ApiController extends OCSController {
*/
public function resetSpreed(): DataResponse {
$delete = $this->db->getQueryBuilder();
+ $delete->delete('talk_attachments')->executeStatement();
+
+ $delete = $this->db->getQueryBuilder();
$delete->delete('talk_attendees')->executeStatement();
$delete = $this->db->getQueryBuilder();