public function BuildHooksConfigEntityTest::testFrontendEnvironment in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/BuildHooksConfigEntityTest.php \Drupal\Tests\build_hooks\Kernel\BuildHooksConfigEntityTest::testFrontendEnvironment()
Tests front-end environment deployments.
@dataProvider providerFrontendEnvironment
File
- tests/
src/ Kernel/ BuildHooksConfigEntityTest.php, line 19
Class
- BuildHooksConfigEntityTest
- Tests behaviour of the config-entity + plugin system.
Namespace
Drupal\Tests\build_hooks\KernelCode
public function testFrontendEnvironment(string $deployment_strategy = TriggerInterface::DEPLOYMENT_STRATEGY_ENTITYSAVE) {
$this
->assertFrontendEnvironmentBuildHook('build_hooks_test', $deployment_strategy, 'http://example.com?whiz=bar', [
'whiz' => 'bar',
]);
}