The unit tests of Contact's Migrate source plugins should be changed to the base class introduced in #2791119: Write meaningful Migrate source tests.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quietone created an issue. See original summary.

peaton’s picture

Assigned: Unassigned » peaton
peaton’s picture

peaton’s picture

Assigned: peaton » Unassigned
Status: Active » Needs review
peaton’s picture

Whoops screwed some whitespace and one of the tests. Fixed.

phenaproxima’s picture

The last submitted patch, 5: 2807879-5.patch, failed testing.

The last submitted patch, 3: 2807879-3.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 6: 2807879-6.patch, failed testing.

peaton’s picture

Status: Needs work » Needs review
FileSize
6.23 KB
1.12 KB

Status: Needs review » Needs work

The last submitted patch, 10: 2807879-10.patch, failed testing.

quietone’s picture

Status: Needs review » Reviewed & tested by the community

Thank you, peaton and phenapromixa.

alexpott’s picture

Status: Reviewed & tested by the community » Needs work

Personally I find the new tests actually hard to work out what is going on. At the very least we should have comments as to what is being set up. Maybe we can use the keys to be more informative - I'm not sure that PHPUnit cares about them.

quietone’s picture

Status: Needs review » Reviewed & tested by the community

thx alexpott.

alexpott’s picture

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 515a55e to 8.3.x and 02abbfe to 8.2.x. Thanks!

  • alexpott committed 515a55e on 8.3.x
    Issue #2807879 by peaton, phenaproxima, alexpott: Convert Contact's...

  • alexpott committed 02abbfe on 8.2.x
    Issue #2807879 by peaton, phenaproxima, alexpott: Convert Contact's...

Status: Fixed » Closed (fixed)

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