public function CacheableResponseSubscriberTest::setUp in Purge 8.3
Set up the test object.
Parameters
bool $switch_to_memory_queue: Whether to switch the default queue to the memory backend or not.
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ TagsHeader/ CacheableResponseSubscriberTest.php, line 42
Class
Namespace
Drupal\Tests\purge\Kernel\TagsHeaderCode
public function setUp($switch_to_memory_queue = TRUE) : void {
parent::setUp();
\Drupal::service('router.builder')
->rebuild();
}