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.
The unit tests of Block's Migrate source plugins should be changed to the base class introduced in #2791119: Write meaningful Migrate source tests.
Comment | File | Size | Author |
---|---|---|---|
#9 | 2807855-9.patch | 6.51 KB | svendecabooter |
#5 | 2807855-5.patch | 6.39 KB | maijs |
#2 | 2807855-2.patch | 6.39 KB | phenaproxima |
Comments
Comment #2
phenaproximaComment #5
maijs CreditAttribution: maijs at Wunder commentedClass namespace is incorrect in patch in #2 (
namespace Drupal\Tests\block\Unit\Plugin\migrate\source
instead ofnamespace Drupal\Tests\block\Kernel\Plugin\migrate\source
), hence tests failing. This patch fixes that.Comment #6
phenaproximaComment #7
quietone CreditAttribution: quietone as a volunteer commentedAnother one done. Much easier to read as well.
Comment #8
alexpottSee #2807879-14: Convert Contact's Migrate source tests to new base class - let's use better array keys to make it easier to understand what is going on.
Comment #9
svendecabooterUpdated the patch to have more informative keys (next to descriptive comments) as suggested by alexpott
Comment #10
quietone CreditAttribution: quietone as a volunteer commentedthanks again.
Comment #11
alexpottCommitted and pushed 62c9422 to 8.3.x and 2ba14bb to 8.2.x. Thanks!