diff -u b/core/modules/comment/tests/src/Kernel/Migrate/d7/CommentEntityTranslationCheckRequirementsTest.php b/core/modules/comment/tests/src/Kernel/Migrate/d7/CommentEntityTranslationCheckRequirementsTest.php --- b/core/modules/comment/tests/src/Kernel/Migrate/d7/CommentEntityTranslationCheckRequirementsTest.php +++ b/core/modules/comment/tests/src/Kernel/Migrate/d7/CommentEntityTranslationCheckRequirementsTest.php @@ -27,9 +27,8 @@ * @dataProvider providerTestCheckRequirements */ public function testCheckRequirements($module) { - // Disable comment in the source site. - $db = $this->sourceDatabase; - $db->update('system') + // Disable the module in the source site. + $this->sourceDatabase->update('system') ->condition('name', $module) ->fields([ 'status' => '0',