You are here

protected function SortableviewsTest::setUp in Sortableviews 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/SortableviewsTest.php, line 45

Class

SortableviewsTest
Verifies form of sortableviews.

Namespace

Drupal\Tests\sortableviews\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'access content',
  ]);
  for ($aux = 1; $aux <= 3; $aux++) {
    $this
      ->drupalCreateNode([
      'type' => 'test',
    ]);
  }
}