You are here

NodeTest.php in Workbench Moderation to Content Moderation 8.2

File

tests/src/Functional/NodeTest.php
View source
<?php

namespace Drupal\Tests\wbm2cm\Functional;


/**
 * @group wbm2cm
 */
class NodeTest extends TestBase {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'content_translation',
    'node',
  ];

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
    parent::setUp();
    $this->storage = $this->container
      ->get('entity_type.manager')
      ->getStorage('node');
    $this
      ->moderate($this
      ->drupalCreateContentType())
      ->save();
    $this
      ->moderate($this
      ->drupalCreateContentType())
      ->save();
  }

}

Classes

Namesort descending Description
NodeTest @group wbm2cm