- Issue created by @joachim
- First commit to issue fork.
- 🇺🇸United States benjifisher Boston area
MR 9636 is ready for review.
I did some related cleanup:
- Replace
prophesize('\Fully\Qualified\ClassName')
withprophesize(ClassName::class)
. - Mock
getKey('id')
andgetKey('revision')
in thesetUp()
method instead of three of the test methods.
The
$storage
prophecy (mock object) gets some additional, incompatible, constraints in some of the test methods, so I did notreveal()
it in thesetUp()
method. I did add a type declaration and fix its@var
comment. - Replace
- 🇺🇸United States benjifisher Boston area
Two functional tests failed, but not the test that I changed.
- 🇺🇸United States smustgrave
Test definitely looks cleaner. Big + for the typehint variables.
-
larowlan →
committed ec1b6713 on 11.x
Issue #3474640 by benjifisher, joachim: Drupal\Tests\migrate\Unit\...
-
larowlan →
committed ec1b6713 on 11.x
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Committed to 11.x, this should qualify for backport to 10.4.x for under the Critical API compatibility condition.
Setting to Path (to be ported) for a 10.4 version. Would be good to get a green test run before I cherry-pick.
- 🇺🇸United States benjifisher Boston area
I cherry-picked and squashed the commits from the original MR onto the 10.4.x branch. Is there an easier way to test on 10.4.x?
An unrelated FunctionalJavascript test failed:
Drupal\Tests\ckeditor5\FunctionalJavascript\ImageUrlTest
.Some unrelated Functional tests failed:
Drupal\Tests\block\Functional\BlockTest
Drupal\Tests\block\Functional\BlockCacheTest
I re-ran the failing tests, and now they are all green.
-
larowlan →
committed 1c1d2e4b on 10.4.x
Issue #3474640 by benjifisher, joachim: Drupal\Tests\migrate\Unit\...
-
larowlan →
committed 1c1d2e4b on 10.4.x
Automatically closed - issue fixed for 2 weeks with no activity.