Simplify test case names

This commit is contained in:
Marcus Moore 2023-04-05 12:27:18 -07:00
parent b41902976b
commit 2187310abb
No known key found for this signature in database
4 changed files with 8 additions and 8 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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();

View file

@ -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();