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

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

idebr created an issue. See original summary.

idebr’s picture

Title: Convert remaining Simpletests to PHPUnit » Convert automated tests from Simpletest to PHPUnit
Status: Active » Needs review
FileSize
11.27 KB

Attached patch converts the automated tests from Simpletest to PHPUnit

andralex’s picture

alex_optim’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

pifagor’s picture

  • pifagor committed 1ca6210 on 8.x-3.x authored by andralex
    Issue #3021997 by idebr, andralex, alex_optim, pifagor: Convert...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.