You are here

public function BitbucketBuildHooksTest::providerFrontendEnvironment in Build Hooks 3.x

Provider for ::testFrontendEnvironment.

Return value

array[] Test cases.

File

modules/build_hooks_bitbucket/tests/src/Kernel/BitbucketBuildHooksTest.php, line 87

Class

BitbucketBuildHooksTest
Defines a test for the configuration form of the bitbucket pipelines plugin.

Namespace

Drupal\Tests\build_hooks_bitbucket\Kernel

Code

public function providerFrontendEnvironment() {
  return [
    'Entity save' => [],
    'Cron' => [
      TriggerInterface::DEPLOYMENT_STRATEGY_CRON,
    ],
    'Manual' => [
      TriggerInterface::DEPLOYMENT_STRATEGY_MANUAL,
    ],
  ];
}