public function NetlifyBuildHooksTest::testDeploymentHooks in Build Hooks 8.2
Same name and namespace in other branches
- 3.x modules/build_hooks_netlify/tests/src/Kernel/NetlifyBuildHooksTest.php \Drupal\Tests\build_hooks_netlify\Kernel\NetlifyBuildHooksTest::testDeploymentHooks()
Tests deployment hooks.
File
- modules/
build_hooks_netlify/ tests/ src/ Kernel/ NetlifyBuildHooksTest.php, line 40
Class
- NetlifyBuildHooksTest
- Defines a class for testing circle CI build hooks module.
Namespace
Drupal\Tests\build_hooks_netlify\KernelCode
public function testDeploymentHooks() {
$this
->assertFrontendEnvironmentBuildHook('netlify', TriggerInterface::DEPLOYMENT_STRATEGY_ENTITYSAVE, 'http://example.com?foo=bar', [
'build_hook_url' => 'http://example.com?foo=bar',
]);
}