protected function ReplicationFilterTest::setUp in Replication 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/ReplicationFilterTest.php \Drupal\Tests\replication\Functional\ReplicationFilterTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ ReplicationFilterTest.php, line 36
Class
- ReplicationFilterTest
- Tests replication filters.
Namespace
Drupal\Tests\replication\FunctionalCode
protected function setUp() {
parent::setUp();
// Create Basic page and Article node types.
if ($this->profile != 'standard') {
$this
->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
}
$this->user = $this
->drupalCreateUser([
'administer workspaces',
]);
$this
->drupalLogin($this->user);
}