diff options
author | Joas Schilling <coding@schilljs.com> | 2022-08-26 21:32:19 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-08-26 21:32:19 +0200 |
commit | f954227df7f413e014fb6b5c97582a5c235baaa1 (patch) | |
tree | df20f290982c313c0284da40495ee52f05833a4f /tests | |
parent | 6480a9e043575cd26c7592d17de5dbddba485e4d (diff) |
Poll ID is a string now
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/bootstrap/FeatureContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 738a691ee..ba930a195 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -1934,7 +1934,7 @@ class FeatureContext implements Context, SnippetAcceptingContext { $result = preg_match('/POLL_ID\(([^)]+)\)/', $expected[$i]['messageParameters'], $matches); if ($result) { - $expected[$i]['messageParameters'] = str_replace($matches[0], self::$questionToPollId[$matches[1]], $expected[$i]['messageParameters']); + $expected[$i]['messageParameters'] = str_replace($matches[0], '"' . self::$questionToPollId[$matches[1]] . '"', $expected[$i]['messageParameters']); } } |