--- 2471481-163.integrate-typed-data-widgets.patch 2022-01-10 09:11:20.000000000 -0800 +++ 2471481-164.integrate-typed-data-widgets.patch 2022-01-24 21:48:54.613644419 -0800 @@ -1027,7 +1027,7 @@ index 13ee1442..d84f396a 100644 +++ b/tests/src/Unit/Integration/Engine/IntegrityCheckTest.php @@ -227,8 +227,8 @@ class IntegrityCheckTest extends RulesEntityIntegrationTestBase { ->checkIntegrity(); - $this->assertEquals(1, iterator_count($violation_list)); + $this->assertCount(1, $violation_list); $this->assertEquals( - 'Expected a string data type for context Text to compare but got a list data type instead.', - (string) $violation_list[0]->getMessage() @@ -1038,7 +1038,7 @@ index 13ee1442..d84f396a 100644 } @@ -252,8 +252,8 @@ class IntegrityCheckTest extends RulesEntityIntegrationTestBase { ->checkIntegrity(); - $this->assertEquals(1, iterator_count($violation_list)); + $this->assertCount(1, $violation_list); $this->assertEquals( - 'Expected a list data type for context Content types but got a entity:node data type instead.', - (string) $violation_list[0]->getMessage() @@ -1049,7 +1049,7 @@ index 13ee1442..d84f396a 100644 } @@ -277,8 +277,8 @@ class IntegrityCheckTest extends RulesEntityIntegrationTestBase { ->checkIntegrity(); - $this->assertEquals(1, iterator_count($violation_list)); + $this->assertCount(1, $violation_list); $this->assertEquals( - 'Expected a entity:node data type for context Node but got a list data type instead.', - (string) $violation_list[0]->getMessage()