mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Update test names
This commit is contained in:
parent
b156aa74a5
commit
c08164d864
|
@ -14,11 +14,11 @@ use Illuminate\Support\Facades\Notification;
|
||||||
use Tests\Support\InteractsWithSettings;
|
use Tests\Support\InteractsWithSettings;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class AccessoryWebhookTest extends TestCase
|
class AccessorySlackTest extends TestCase
|
||||||
{
|
{
|
||||||
use InteractsWithSettings;
|
use InteractsWithSettings;
|
||||||
|
|
||||||
public function testAccessoryCheckoutSendsWebhookNotificationWhenSettingEnabled()
|
public function testAccessoryCheckoutSendsSlackNotificationWhenSettingEnabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class AccessoryWebhookTest extends TestCase
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAccessoryCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled()
|
public function testAccessoryCheckoutDoesNotSendSlackNotificationWhenSettingDisabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ class AccessoryWebhookTest extends TestCase
|
||||||
Notification::assertNotSentTo(new AnonymousNotifiable, CheckoutAccessoryNotification::class);
|
Notification::assertNotSentTo(new AnonymousNotifiable, CheckoutAccessoryNotification::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAccessoryCheckinSendsWebhookNotificationWhenSettingEnabled()
|
public function testAccessoryCheckinSendsSlackNotificationWhenSettingEnabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ class AccessoryWebhookTest extends TestCase
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAccessoryCheckinDoesNotSendWebhookNotificationWhenSettingDisabled()
|
public function testAccessoryCheckinDoesNotSendSlackNotificationWhenSettingDisabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
|
@ -15,7 +15,7 @@ use Illuminate\Support\Facades\Notification;
|
||||||
use Tests\Support\InteractsWithSettings;
|
use Tests\Support\InteractsWithSettings;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class AssetWebhookTest extends TestCase
|
class AssetSlackTest extends TestCase
|
||||||
{
|
{
|
||||||
use InteractsWithSettings;
|
use InteractsWithSettings;
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class AssetWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testAssetCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
|
public function testAssetCheckoutSendsSlackNotificationWhenSettingEnabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ class AssetWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testAssetCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
|
public function testAssetCheckoutDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ class AssetWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testAssetCheckinSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
|
public function testAssetCheckinSendsSlackNotificationWhenSettingEnabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ class AssetWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testAssetCheckinDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
|
public function testAssetCheckinDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
|
@ -11,12 +11,12 @@ use Illuminate\Support\Facades\Notification;
|
||||||
use Tests\Support\InteractsWithSettings;
|
use Tests\Support\InteractsWithSettings;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class ComponentWebhookTest extends TestCase
|
class ComponentSlackTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
use InteractsWithSettings;
|
use InteractsWithSettings;
|
||||||
|
|
||||||
public function testComponentCheckoutDoesNotSendWebhookNotification()
|
public function testComponentCheckoutDoesNotSendSlackNotification()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ class ComponentWebhookTest extends TestCase
|
||||||
Notification::assertNothingSent();
|
Notification::assertNothingSent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testComponentCheckinDoesNotSendWebhookNotification()
|
public function testComponentCheckinDoesNotSendSlackNotification()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
|
@ -12,11 +12,11 @@ use Illuminate\Support\Facades\Notification;
|
||||||
use Tests\Support\InteractsWithSettings;
|
use Tests\Support\InteractsWithSettings;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class ConsumableWebhookTest extends TestCase
|
class ConsumableSlackTest extends TestCase
|
||||||
{
|
{
|
||||||
use InteractsWithSettings;
|
use InteractsWithSettings;
|
||||||
|
|
||||||
public function testConsumableCheckoutSendsWebhookNotificationWhenSettingEnabled()
|
public function testConsumableCheckoutSendsSlackNotificationWhenSettingEnabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ class ConsumableWebhookTest extends TestCase
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testConsumableCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled()
|
public function testConsumableCheckoutDoesNotSendSlackNotificationWhenSettingDisabled()
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
|
@ -15,7 +15,7 @@ use Illuminate\Support\Facades\Notification;
|
||||||
use Tests\Support\InteractsWithSettings;
|
use Tests\Support\InteractsWithSettings;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class LicenseWebhookTest extends TestCase
|
class LicenseSlackTest extends TestCase
|
||||||
{
|
{
|
||||||
use InteractsWithSettings;
|
use InteractsWithSettings;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testLicenseCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
|
public function testLicenseCheckoutSendsSlackNotificationWhenSettingEnabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testLicenseCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
|
public function testLicenseCheckoutDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testLicenseCheckinSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
|
public function testLicenseCheckinSendsSlackNotificationWhenSettingEnabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @dataProvider targets */
|
/** @dataProvider targets */
|
||||||
public function testLicenseCheckinDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget)
|
public function testLicenseCheckinDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget)
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
Loading…
Reference in a new issue