public function ContentHubMultilingualSettingsWebhookTest::testContentHubWebhookPath in Acquia Content Hub 8.2
Tests the webhook path is not changed if multilingual settings are enabled.
File
- tests/
src/ Functional/ ContentHubMultilingualSettingsWebhookTest.php, line 77
Class
- ContentHubMultilingualSettingsWebhookTest
- Tests that the Webhook Url is unchanged with multilingual settings.
Namespace
Drupal\Tests\acquia_contenthub\FunctionalCode
public function testContentHubWebhookPath() {
$webhook_path = Url::fromRoute('acquia_contenthub.webhook')
->toString();
$this
->assertEqual($webhook_path, '/acquia-contenthub/webhook');
}