Closed (fixed)
Project:
Block Class
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2021 at 11:21 UTC
Updated:
13 Jul 2024 at 04:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
amarlataComment #3
amarlataComment #4
huzookaAdding test coverage.
Interdiff isn't provided: the difference between #3 and this is the test-only patch.
We shouldn't postpone this, so removing the [PP-*] prefix.
Thank you, @amarlata!
Comment #6
wim leersComment #7
fengtanA workaround that seems to work (if you are using a custom migration and are able to edit the yml migration file):
Comment #10
kunal_sahu commentedI have created an MR , please merge . Thanks
Comment #13
dydave commentedThanks a lot everyone for your great help on this issue and sorry for the delay of this reply.
Quick follow-up:
Easily rebased MR!11 and started running the tests locally on D10.
I quickly noticed the fixtures were based on themes bartik and seven which have been removed in core D10 and moved to contrib.
After adding the themes locally with composer, the tests ran successfully without any change to the work from #4!
Great job getting some tests added!
Lastly, for D11 (phpunit next major), adding the bartik and seven themes with composer was not an option since they don't seem to have compatible versions at this moment, see:
Therefore, the D7 Migrate Kernel Tests had to be disabled/excluded temporarily for D11.
The changes have been merged in the 8.x-1.x branch at #12, thus marking this issue as Fixed for now.
Feel free to let us know if you have any questions, suggestions or concerns on any of the recent code changes or this ticket in general, we would be glad to help!
Thanks again everyone for the great work and contributions!