Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The VoteCreationTest and VoteTest classes were made with Simpletest but this test framework is deprecated in favor of PHPUnit.
Proposed resolution
Convert the VoteCreationTest and VoteTest classes to PHPUnit.
Remaining tasks
- Write a patch
- Review
- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#3 | votingapi-convert_simpletest_to_phpunit-3021997-3.patch | 11.64 KB | andralex |
#2 | votingapi-convert_simpletest_to_phpunit-3021997-2.patch | 11.27 KB | idebr |
Comments
Comment #2
idebr CreditAttribution: idebr at iO commentedAttached patch converts the automated tests from Simpletest to PHPUnit
Comment #3
andralex CreditAttribution: andralex at EPAM Systems for EPAM Systems commentedTested the patch and found a list of deprecations. Here is an updated patch version.
Comment #4
alex_optimLooks good.
Comment #5
pifagorComment #7
pifagor