- 🇵🇰Pakistan hmdnawaz
The patch in # 5 is not applied to version 1.5.
I also tried it with the dev version of the module but the patch is not applied cleanly.With the dev version, I have the `PollBlockTest.php.rej`
--- tests/src/Functional/PollBlockTest.php +++ tests/src/Functional/PollBlockTest.php @@ -14,9 +14,9 @@ class PollBlockTest extends PollTestBase { * * @var array */ - public static $modules = array('block'); + protected static $modules = array('block'); - function setUp() { + function setUp(): void { parent::setUp(); // Enable the recent poll block. @@ -47,7 +47,8 @@ class PollBlockTest extends PollTestBase { $edit = array( 'choice' => '1', ); - $this->drupalPostForm('user/' . $this->web_user->id(), $edit, t('Vote')); + $this->drupalGet('user/' . $this->web_user->id()); + $this->submitForm($edit, t('Vote')); $this->assertSession()->pageTextContains('Your vote has been recorded.'); $this->assertSession()->pageTextContains('Total votes: 1');
- 🇧🇪Belgium Tim Lammar
Rewrite the JS once functionalities according to the D10 requirements