Skip to content

A free open source IT asset/license management system

Simplify test case names

Marcus Moore2187310abb51
diff --git a/tests/Feature/Notifications/AccessoryWebhookTest.php b/tests/Feature/Notifications/AccessoryWebhookTest.php
index 2350f4e9f7..967faf9c86 100644
--- a/tests/Feature/Notifications/AccessoryWebhookTest.php
+++ b/tests/Feature/Notifications/AccessoryWebhookTest.php
@@ -13,7 +13,7 @@ use Tests\TestCase;
class AccessoryWebhookTest extends TestCase
{
- public function testWebhookNotificationsAreSentOnAccessoryCheckoutWhenWebhookSettingEnabled()
+ public function testAccessoryCheckoutSendsWebhookNotificationWhenSettingEnabled()
{
Notification::fake();
@@ -35,7 +35,7 @@ class AccessoryWebhookTest extends TestCase
);
}
- public function testWebhookNotificationsAreNotSentOnAccessoryCheckoutWhenWebhookSettingNotEnabled()
+ public function testAccessoryCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled()
{
Notification::fake();
diff --git a/tests/Feature/Notifications/AssetWebhookTest.php b/tests/Feature/Notifications/AssetWebhookTest.php
index e153de40f6..fad1deb1ce 100644
--- a/tests/Feature/Notifications/AssetWebhookTest.php
+++ b/tests/Feature/Notifications/AssetWebhookTest.php
@@ -34,7 +34,7 @@ class AssetWebhookTest extends TestCase
}
/** @dataProvider checkoutTargets */
- public function testWebhookNotificationsAreSentOnAssetCheckoutWhenWebhookSettingEnabled($checkoutTarget)
+ public function testAssetCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
{
Notification::fake();
@@ -57,7 +57,7 @@ class AssetWebhookTest extends TestCase
}
/** @dataProvider checkoutTargets */
- public function testWebhookNotificationsAreNotSentOnAssetCheckoutWhenWebhookSettingNotEnabled($checkoutTarget)
+ public function testAssetCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
{
Notification::fake();
diff --git a/tests/Feature/Notifications/ConsumableWebhookTest.php b/tests/Feature/Notifications/ConsumableWebhookTest.php
index 9313831f57..ec3c0045a3 100644
--- a/tests/Feature/Notifications/ConsumableWebhookTest.php
+++ b/tests/Feature/Notifications/ConsumableWebhookTest.php
@@ -13,7 +13,7 @@ use Tests\TestCase;
class ConsumableWebhookTest extends TestCase
{
- public function testWebhookNotificationsAreSentOnConsumableCheckoutWhenWebhookSettingEnabled()
+ public function testConsumableCheckoutSendsWebhookNotificationWhenSettingEnabled()
{
Notification::fake();
@@ -35,7 +35,7 @@ class ConsumableWebhookTest extends TestCase
);
}
- public function testWebhookNotificationsAreNotSentOnConsumableCheckoutWhenWebhookSettingNotEnabled()
+ public function testConsumableCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled()
{
Notification::fake();
diff --git a/tests/Feature/Notifications/LicenseWebhookTest.php b/tests/Feature/Notifications/LicenseWebhookTest.php
index f20ffc9937..f12fcceaea 100644
--- a/tests/Feature/Notifications/LicenseWebhookTest.php
+++ b/tests/Feature/Notifications/LicenseWebhookTest.php
@@ -23,7 +23,7 @@ class LicenseWebhookTest extends TestCase
}
/** @dataProvider checkoutTargets */
- public function testWebhookNotificationsAreSentOnLicenseCheckoutWhenWebhookSettingEnabled($checkoutTarget)
+ public function testLicenseCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
{
Notification::fake();
@@ -46,7 +46,7 @@ class LicenseWebhookTest extends TestCase
}
/** @dataProvider checkoutTargets */
- public function testWebhookNotificationsAreNotSentOnLicenseCheckoutWhenWebhookSettingNotEnabled($checkoutTarget)
+ public function testLicenseCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
{
Notification::fake();