reverted: --- b/core/modules/statistics/tests/src/Kernel/Plugin/NodeCounterTest.php +++ /dev/null @@ -1,66 +0,0 @@ - 1, - 'totalcount' => 2, - 'daycount' => 0, - 'timestamp' => 1421727536, - ], - [ - 'nid' => 2, - 'totalcount' => 1, - 'daycount' => 0, - 'timestamp' => 1471428059, - ], - [ - 'nid' => 3, - 'totalcount' => 1, - 'daycount' => 0, - 'timestamp' => 1471428153, - ], - [ - 'nid' => 4, - 'totalcount' => 1, - 'daycount' => 1, - 'timestamp' => 1478755275, - ], - [ - 'nid' => 5, - 'totalcount' => 1, - 'daycount' => 1, - 'timestamp' => 1478755314, - ], - ]; - - // The expected results. - $tests[0]['expected_data'] = $tests[0]['source_data']['node_counter']; - - return $tests; - } - -} only in patch2: unchanged: --- /dev/null +++ b/core/modules/statistics/tests/src/Kernel/Plugin/migrate/source/NodeCounterTest.php @@ -0,0 +1,66 @@ + 1, + 'totalcount' => 2, + 'daycount' => 0, + 'timestamp' => 1421727536, + ], + [ + 'nid' => 2, + 'totalcount' => 1, + 'daycount' => 0, + 'timestamp' => 1471428059, + ], + [ + 'nid' => 3, + 'totalcount' => 1, + 'daycount' => 0, + 'timestamp' => 1471428153, + ], + [ + 'nid' => 4, + 'totalcount' => 1, + 'daycount' => 1, + 'timestamp' => 1478755275, + ], + [ + 'nid' => 5, + 'totalcount' => 1, + 'daycount' => 1, + 'timestamp' => 1478755314, + ], + ]; + + // The expected results. + $tests[0]['expected_data'] = $tests[0]['source_data']['node_counter']; + + return $tests; + } + +}