3 namespace Drupal\Tests\node\Kernel\Action;
5 use Drupal\KernelTests\KernelTestBase;
6 use Drupal\system\Entity\Action;
11 class UnpublishByKeywordActionTest extends KernelTestBase {
16 public static $modules = ['action', 'node', 'system', 'user'];
19 * Tests creating an action using the node_unpublish_by_keyword_action plugin.
21 * @see https://www.drupal.org/node/2578519
23 public function testUnpublishByKeywordAction() {
27 'plugin' => 'node_unpublish_by_keyword_action',