You are here

public function StaticGeneratorTest::setUp in Tome 8

Overrides TestBase::setUp

File

modules/tome_static/tests/src/Kernel/StaticGeneratorTest.php, line 33

Class

StaticGeneratorTest
Tests that static site generation works.

Namespace

Drupal\Tests\tome_static\Kernel

Code

public function setUp() {
  parent::setUp();
  User::create([
    'uid' => 0,
    'status' => 0,
    'name' => '',
  ])
    ->save();
}