function MigrateActionsTest::testActions

Same name in this branch
  1. 10 core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionsTest::testActions()
  2. 10 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateActionsTest::testActions()
  3. 10 core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php \Drupal\Tests\action\Kernel\Migrate\d7\MigrateActionsTest::testActions()
Same name in other branches
  1. 9 core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionsTest::testActions()
  2. 9 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateActionsTest::testActions()
  3. 8.9.x core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php \Drupal\Tests\action\Kernel\Migrate\d6\MigrateActionsTest::testActions()
  4. 8.9.x core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php \Drupal\Tests\action\Kernel\Migrate\d7\MigrateActionsTest::testActions()
  5. 11.x core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionsTest::testActions()
  6. 11.x core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateActionsTest::testActions()

Tests Drupal 6 action migration to Drupal 8.

File

core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php, line 30

Class

MigrateActionsTest
Tests migration of action items.

Namespace

Drupal\Tests\action\Kernel\Migrate\d6

Code

public function testActions() : void {
    // Test advanced actions.
    $this->assertEntity('unpublish_comment_containing_keyword_s_', 'Unpublish comment containing keyword(s)', 'comment', [
        "keywords" => [
            0 => "drupal",
        ],
    ]);
    $this->assertEntity('unpublish_post_containing_keyword_s_', 'Unpublish post containing keyword(s)', 'node', [
        "keywords" => [
            0 => "drupal",
        ],
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.