Skip to content

test: read the poll option id as a string in the feed integration test - #181

Merged
mogita merged 1 commit into
masterfrom
test/poll-option-id
Dec 4, 2026
Merged

mogita merged 1 commit into
masterfrom
test/poll-option-id

Conversation

@mogita

@mogita mogita commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Problem

The feed integration test "creates and votes on polls" fails on regen PRs with NoMethodError (seen on #180). StreamResponse#[] now returns the poll option's id string, so the test's .id call on that string raises.

Solution

Read the option id with ['id'] and pass it to VoteData as is.

How to verify

  1. The Regen integration run on the next regen PR passes the feed integration lane.

StreamResponse#[] now returns the option's id, so calling .id on it raised NoMethodError and failed the regen integration run.
@getstream-metis

Copy link
Copy Markdown

👋 Hi 🌵, want a second pair of eyes on this?

I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.

  • Review this PR

Or comment /jeffery review. I'll stay quiet unless you ask.

@mogita
mogita merged commit 887cce9 into master Dec 4, 2026
8 checks passed
@mogita
mogita deleted the test/poll-option-id branch December 4, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant