Follow-up to #2773099: Add tests for base fields of revisonable entity

We only have upgrade path tests basefield for non-revisonable entities right now. Add upgrade path test for basefield for revisonable entities with and without data table. Also see #2772611-19: target_id_int column doesn't exist for field revision table

Comments

jibran created an issue. See original summary.

jibran’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
jibran’s picture

Status: Active » Needs review
StatusFileSize
new106.71 KB

Here is the patch and DB with the sample file.

jibran’s picture

I'll write tests in the morning.

jibran’s picture

StatusFileSize
new19.31 KB
new125.77 KB

Here is the test and added some tweaks to the script and added some assert to an existing test as well.

chx’s picture

Status: Needs review » Reviewed & tested by the community

  • jibran committed 3c4c8ff on 8.x-2.x
    Issue #2795247 by jibran: Add upgrade path tests for base fields of...
jibran’s picture

Status: Reviewed & tested by the community » Fixed

Thanks.

Status: Fixed » Closed (fixed)

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