From 865b0c97c001f432bd10441055aaaa75097abf13 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Thu, 5 Dec 2024 15:07:59 +0100 Subject: [PATCH] fixup! feat(polls): allow editing of draft polls --- tests/integration/features/bootstrap/FeatureContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index d21d616adbd..7daec62de5d 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -2534,7 +2534,7 @@ public function updateDraftPoll(string $user, string $identifier, string $status $this->setCurrentUser($user); $this->sendRequest( - 'POST', '/apps/spreed/api/' . $apiVersion . '/poll/' . self::$identifierToToken[$identifier] . '/draft/'. self::$questionToPollId[$data['question']], + 'POST', '/apps/spreed/api/' . $apiVersion . '/poll/' . self::$identifierToToken[$identifier] . '/draft/' . self::$questionToPollId[$data['question']], $data ); $this->assertStatusCode($this->response, $statusCode);