mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
Simplify test case names
This commit is contained in:
parent
b41902976b
commit
2187310abb
|
@ -13,7 +13,7 @@ use Tests\TestCase;
|
||||||
|
|
||||||
class AccessoryWebhookTest extends TestCase
|
class AccessoryWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testWebhookNotificationsAreSentOnAccessoryCheckoutWhenWebhookSettingEnabled()
|
public function testAccessoryCheckoutSendsWebhookNotificationWhenSettingEnabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class AccessoryWebhookTest extends TestCase
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testWebhookNotificationsAreNotSentOnAccessoryCheckoutWhenWebhookSettingNotEnabled()
|
public function testAccessoryCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ class AssetWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider checkoutTargets */
|
/** @dataProvider checkoutTargets */
|
||||||
public function testWebhookNotificationsAreSentOnAssetCheckoutWhenWebhookSettingEnabled($checkoutTarget)
|
public function testAssetCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class AssetWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider checkoutTargets */
|
/** @dataProvider checkoutTargets */
|
||||||
public function testWebhookNotificationsAreNotSentOnAssetCheckoutWhenWebhookSettingNotEnabled($checkoutTarget)
|
public function testAssetCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ use Tests\TestCase;
|
||||||
|
|
||||||
class ConsumableWebhookTest extends TestCase
|
class ConsumableWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testWebhookNotificationsAreSentOnConsumableCheckoutWhenWebhookSettingEnabled()
|
public function testConsumableCheckoutSendsWebhookNotificationWhenSettingEnabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class ConsumableWebhookTest extends TestCase
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testWebhookNotificationsAreNotSentOnConsumableCheckoutWhenWebhookSettingNotEnabled()
|
public function testConsumableCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider checkoutTargets */
|
/** @dataProvider checkoutTargets */
|
||||||
public function testWebhookNotificationsAreSentOnLicenseCheckoutWhenWebhookSettingEnabled($checkoutTarget)
|
public function testLicenseCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider checkoutTargets */
|
/** @dataProvider checkoutTargets */
|
||||||
public function testWebhookNotificationsAreNotSentOnLicenseCheckoutWhenWebhookSettingNotEnabled($checkoutTarget)
|
public function testLicenseCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue