You are here

public function SpambotUserspamTest::setUp in Spambot 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/SpambotUserspamTest.php, line 35

Class

SpambotUserspamTest
Test spambot report account.

Namespace

Drupal\Tests\spambot\Kernel

Code

public function setUp() : void {
  parent::setUp();

  // Create an user that we will use for testing.
  $this->user = User::create([
    'name' => 'amparohm69',
    'mail' => 'nelda@singaporetravel.network',
  ]);
}