You are here

public function PrivateMessageUnreadCountTest::setUp in Private Message 8.2

SetUp the test class.

Overrides BrowserTestBase::setUp

File

tests/src/Functional/PrivateMessageUnreadCountTest.php, line 43

Class

PrivateMessageUnreadCountTest
Tests for the unread count.

Namespace

Drupal\Tests\private_message\Functional

Code

public function setUp() {
  parent::setUp();
  $this->userA = $this
    ->drupalCreateUser([
    'use private messaging system',
    'access user profiles',
  ]);
  $this->userB = $this
    ->drupalCreateUser([
    'use private messaging system',
    'access user profiles',
  ]);
  $this
    ->drupalPlaceBlock('private_message_notification_block');
}