Commit 462932d6 authored by catch's avatar catch
Browse files

Issue #3285667 by andregp, ankithashetty, quietone, longwave: Remove duplicate...

Issue #3285667 by andregp, ankithashetty, quietone, longwave: Remove duplicate test from source\d7\NodeTest::providerSource

(cherry picked from commit 4fd25f45)
parent 6ef26c69
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ class NodeTest extends MigrateSqlSourceTestBase {
  public function providerSource() {
    $tests = [];

    // The source data.
    // Test retrieval of article and page content types when configuration
    // key 'node_type' is not set.
    $tests[0]['source_data']['node'] = [
      [
        'nid' => 1,
@@ -656,12 +657,6 @@ public function providerSource() {
    ];
    $tests[4]['expected_data'] = $tests[0]['expected_data'];

    // Test retrieval of article and page content types when configuration
    // key 'node_type' is not set.
    $tests[5] = $tests[0];
    unset($tests[5]['configuration']);
    $tests[5]['expected_data'] = $tests[0]['expected_data'];

    return $tests;
  }

+0 −5
Original line number Diff line number Diff line
@@ -1428,11 +1428,6 @@ parameters:
			count: 5
			path: modules/node/tests/src/Functional/Views/Wizard/NodeRevisionWizardTest.php

		-
			message: "#^Cannot unset offset 'configuration' on array\\{source_data\\: array\\{node\\: array\\{array\\{nid\\: 1, vid\\: 1, type\\: 'page', language\\: 'en', title\\: 'node title 1', uid\\: 1, status\\: 1, created\\: 1279051598, \\.\\.\\.\\}, array\\{nid\\: 2, vid\\: 2, type\\: 'page', language\\: 'en', title\\: 'node title 2', uid\\: 1, status\\: 1, created\\: 1279290908, \\.\\.\\.\\}, array\\{nid\\: 5, vid\\: 5, type\\: 'article', language\\: 'en', title\\: 'node title 5', uid\\: 1, status\\: 1, created\\: 1279290908, \\.\\.\\.\\}, array\\{nid\\: 6, vid\\: 6, type\\: 'article', language\\: 'en', title\\: 'node title 5', uid\\: 1, status\\: 1, created\\: 1279291908, \\.\\.\\.\\}, array\\{nid\\: 7, vid\\: 7, type\\: 'article', language\\: 'fr', title\\: 'fr \\- node title 5', uid\\: 1, status\\: 1, created\\: 1279292908, \\.\\.\\.\\}\\}, node_revision\\: array\\{array\\{nid\\: 1, vid\\: 1, uid\\: 2, title\\: 'node title 1', log\\: '', timestamp\\: 1279051598, status\\: 1, comment\\: 2, \\.\\.\\.\\}, array\\{nid\\: 2, vid\\: 2, uid\\: 2, title\\: 'node title 2', log\\: '', timestamp\\: 1279308993, status\\: 1, comment\\: 0, \\.\\.\\.\\}, array\\{nid\\: 5, vid\\: 5, uid\\: 2, title\\: 'node title 5', log\\: '', timestamp\\: 1279308993, status\\: 1, comment\\: 0, \\.\\.\\.\\}, array\\{nid\\: 6, vid\\: 6, uid\\: 1, title\\: 'node title 5', log\\: '', timestamp\\: 1279309993, status\\: 1, comment\\: 0, \\.\\.\\.\\}, array\\{nid\\: 7, vid\\: 7, uid\\: 1, title\\: 'fr \\- node title 5', log\\: '', timestamp\\: 1279310993, status\\: 1, comment\\: 0, \\.\\.\\.\\}\\}, field_config\\: array\\{array\\{id\\: '2', translatable\\: '0'\\}, array\\{id\\: '3', translatable\\: '1'\\}\\}, field_config_instance\\: array\\{array\\{id\\: '2', field_id\\: '2', field_name\\: 'body', entity_type\\: 'node', bundle\\: 'page', data\\: 'a\\:0\\:\\{\\}', deleted\\: '0'\\}, array\\{id\\: '3', field_id\\: '2', field_name\\: 'body', entity_type\\: 'node', bundle\\: 'article', data\\: 'a\\:0\\:\\{\\}', deleted\\: '0'\\}, array\\{id\\: '4', field_id\\: '3', field_name\\: 'title_field', entity_type\\: 'node', bundle\\: 'article', data\\: 'a\\:0\\:\\{\\}', deleted\\: '0'\\}\\}, field_revision_body\\: array\\{array\\{entity_type\\: 'node', bundle\\: 'page', deleted\\: '0', entity_id\\: '1', revision_id\\: '1', language\\: 'en', delta\\: '0', body_value\\: 'Foo', \\.\\.\\.\\}, array\\{entity_type\\: 'node', bundle\\: 'page', deleted\\: '0', entity_id\\: '2', revision_id\\: '2', language\\: 'en', delta\\: '0', body_value\\: 'body 2', \\.\\.\\.\\}, array\\{entity_type\\: 'node', bundle\\: 'page', deleted\\: '0', entity_id\\: '5', revision_id\\: '5', language\\: 'en', delta\\: '0', body_value\\: 'body 5', \\.\\.\\.\\}, array\\{entity_type\\: 'node', bundle\\: 'page', deleted\\: '0', entity_id\\: '6', revision_id\\: '6', language\\: 'en', delta\\: '0', body_value\\: 'body 6', \\.\\.\\.\\}, array\\{entity_type\\: 'node', bundle\\: 'page', deleted\\: '0', entity_id\\: '7', revision_id\\: '7', language\\: 'fr', delta\\: '0', body_value\\: 'fr \\- body 6', \\.\\.\\.\\}\\}, field_revision_title_field\\: array\\{array\\{entity_type\\: 'node', bundle\\: 'article', deleted\\: '0', entity_id\\: '5', revision_id\\: '5', language\\: 'en', delta\\: '0', title_field_value\\: 'node title 5 \\(title…', \\.\\.\\.\\}, array\\{entity_type\\: 'node', bundle\\: 'article', deleted\\: '0', entity_id\\: '6', revision_id\\: '6', language\\: 'en', delta\\: '0', title_field_value\\: 'node title 5 \\(title…', \\.\\.\\.\\}, array\\{entity_type\\: 'node', bundle\\: 'article', deleted\\: '0', entity_id\\: '7', revision_id\\: '7', language\\: 'en', delta\\: '0', title_field_value\\: 'node title 5 \\(title…', \\.\\.\\.\\}\\}, system\\: array\\{array\\{name\\: 'title', type\\: 'module', status\\: 1\\}\\}\\}, expected_data\\: array\\{array\\{nid\\: 1, vid\\: 1, type\\: 'page', language\\: 'en', title\\: 'node title 1', node_uid\\: 1, revision_uid\\: 2, status\\: 1, \\.\\.\\.\\}, array\\{nid\\: 2, vid\\: 2, type\\: 'page', language\\: 'en', title\\: 'node title 2', node_uid\\: 1, revision_uid\\: 2, status\\: 1, \\.\\.\\.\\}, array\\{nid\\: 5, vid\\: 5, type\\: 'article', language\\: 'en', title\\: 'node title 5 \\(title…', node_uid\\: 1, revision_uid\\: 2, status\\: 1, \\.\\.\\.\\}, array\\{nid\\: 6, vid\\: 6, type\\: 'article', language\\: 'en', title\\: 'node title 5 \\(title…', node_uid\\: 1, revision_uid\\: 1, status\\: 1, \\.\\.\\.\\}\\}\\}\\.$#"
			count: 1
			path: modules/node/tests/src/Kernel/Plugin/migrate/source/d7/NodeTest.php

		-
			message: "#^Method Drupal\\\\options\\\\Plugin\\\\Field\\\\FieldType\\\\ListFloatItem\\:\\:validateAllowedValue\\(\\) should return string but return statement is missing\\.$#"
			count: 1