Skip to content

Commit

Permalink
fixup! feat(polls): allow editing of draft polls
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Jan 16, 2025
1 parent 72000ee commit 06e4b31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -2559,7 +2559,9 @@ public function updateDraftPoll(string $user, string $identifier, string $status
}

$response = $this->getDataFromResponse($this->response);
$this->assertPollEquals($data, $response);
if (isset($response['id'])) {
self::$questionToPollId[$data['question']] = $response['id'];
}
}

/**
Expand Down

0 comments on commit 06e4b31

Please sign in to comment.