public function PublishedFilterTest::setUp in Replication 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/Plugin/ReplicationFilter/PublishedFilterTest.php \Drupal\Tests\replication\Kernel\Plugin\ReplicationFilter\PublishedFilterTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ Plugin/ ReplicationFilter/ PublishedFilterTest.php, line 39
Class
- PublishedFilterTest
- Tests that the published filter parses parameters correctly.
Namespace
Drupal\Tests\replication\Kernel\Plugin\ReplicationFilterCode
public function setUp() {
parent::setUp();
$node_type = NodeType::create([
'type' => 'test',
'label' => 'Test',
]);
$node_type
->save();
$bundle_type = BlockContentType::create([
'id' => 'test',
'label' => 'Test',
]);
$bundle_type
->save();
}