public function DailyTagPurgeLimitCheckTest::setUp in CloudFlare 8
Overrides DiagnosticCheckTestBase::setUp
File
- modules/
cloudflarepurger/ tests/ src/ Unit/ DailyTagPurgeLimitCheckTest.php, line 20
Class
- DailyTagPurgeLimitCheckTest
- Tests that purge_requirements() passes on our diagnostic checks.
Namespace
Drupal\Tests\cloudflarepurger\UnitCode
public function setUp() {
parent::setUp();
$this->container = new ContainerBuilder();
$this->container
->set('string_translation', $this
->getStringTranslationStub());
\Drupal::setContainer($this->container);
}