diff --git a/tests/integration/Espo/Webhook/AclTest.php b/tests/integration/Espo/Webhook/AclTest.php index ee2bd59d39..678ba8d08e 100644 --- a/tests/integration/Espo/Webhook/AclTest.php +++ b/tests/integration/Espo/Webhook/AclTest.php @@ -88,7 +88,7 @@ class AclTest extends \tests\integration\Core\BaseTestCase 'Content-Type' => 'application/json', 'X-Api-Key' => 'test-key', ], - '{"event":"Account.create", "url": "https://test"}' + '{"event":"Account.create", "url": "https://test.com"}' ); $this->auth(null, null, null, 'ApiKey', $request); @@ -126,7 +126,7 @@ class AclTest extends \tests\integration\Core\BaseTestCase 'Content-Type' => 'application/json', 'X-Api-Key' => 'test-key', ], - '{"event":"Account.create", "url": "https://test"}' + '{"event":"Account.create", "url": "https://test.com"}' ); $this->auth(null, null, null, 'ApiKey', $request); @@ -164,7 +164,7 @@ class AclTest extends \tests\integration\Core\BaseTestCase 'Content-Type' => 'application/json', 'X-Api-Key' => 'test-key', ], - '{"event":"Account.create", "url": "https://test"}' + '{"event":"Account.create", "url": "https://test.com"}' ); $this->auth(null, null, null, 'ApiKey', $request); @@ -204,7 +204,7 @@ class AclTest extends \tests\integration\Core\BaseTestCase $webhook = $em->createEntity('Webhook', [ 'event' => 'Account.create', - 'url' => 'https://test', + 'url' => 'https://test.com', 'userId' => $user->getId(), ]); diff --git a/tests/integration/Espo/Webhook/ProcessingTest.php b/tests/integration/Espo/Webhook/ProcessingTest.php index 09fc5ddb5e..8d44816210 100644 --- a/tests/integration/Espo/Webhook/ProcessingTest.php +++ b/tests/integration/Espo/Webhook/ProcessingTest.php @@ -63,14 +63,14 @@ class ProcessingTest extends BaseTestCase $em->createEntity(Webhook::ENTITY_TYPE, [ 'event' => 'Account.create', 'userId' => $user->getId(), - 'url' => 'https://test', + 'url' => 'https://test.com', 'skipOwn' => true, ]); $em->createEntity(Webhook::ENTITY_TYPE, [ 'event' => 'Account.update', 'userId' => $user->getId(), - 'url' => 'https://test', + 'url' => 'https://test.com', 'skipOwn' => true, ]); @@ -203,7 +203,7 @@ class ProcessingTest extends BaseTestCase $em->createEntity(Webhook::ENTITY_TYPE, [ 'event' => 'Account.delete', 'userId' => $user->getId(), - 'url' => 'https://test', + 'url' => 'https://test.com', 'skipOwn' => true, ]); @@ -289,7 +289,7 @@ class ProcessingTest extends BaseTestCase $em->createEntity(Webhook::ENTITY_TYPE, [ 'event' => 'Account.fieldUpdate.name', 'userId' => $user->getId(), - 'url' => 'https://test', + 'url' => 'https://test.com', ]); $app = $this->createApplication();