public function GithubBuildHooksTest::providerFrontendEnvironment in Build Hooks 3.x
Provider for ::testFrontendEnvironment.
Return value
array[] Test cases.
File
- modules/
build_hooks_github/ tests/ src/ Kernel/ GithubBuildHooksTest.php, line 77
Class
- GithubBuildHooksTest
- Defines a test for the configuration form of the github workflow plugin.
Namespace
Drupal\Tests\build_hooks_github\KernelCode
public function providerFrontendEnvironment() {
return [
'Entity save' => [],
'Cron' => [
TriggerInterface::DEPLOYMENT_STRATEGY_CRON,
],
'Manual' => [
TriggerInterface::DEPLOYMENT_STRATEGY_MANUAL,
],
];
}