diff --git a/tests/Feature/Notifications/AccessoryWebhookTest.php b/tests/Feature/Notifications/AccessorySlackTest.php similarity index 86% rename from tests/Feature/Notifications/AccessoryWebhookTest.php rename to tests/Feature/Notifications/AccessorySlackTest.php index b6e74feb5b..bd54ed8cb9 100644 --- a/tests/Feature/Notifications/AccessoryWebhookTest.php +++ b/tests/Feature/Notifications/AccessorySlackTest.php @@ -14,11 +14,11 @@ use Illuminate\Support\Facades\Notification; use Tests\Support\InteractsWithSettings; use Tests\TestCase; -class AccessoryWebhookTest extends TestCase +class AccessorySlackTest extends TestCase { use InteractsWithSettings; - public function testAccessoryCheckoutSendsWebhookNotificationWhenSettingEnabled() + public function testAccessoryCheckoutSendsSlackNotificationWhenSettingEnabled() { Notification::fake(); @@ -40,7 +40,7 @@ class AccessoryWebhookTest extends TestCase ); } - public function testAccessoryCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled() + public function testAccessoryCheckoutDoesNotSendSlackNotificationWhenSettingDisabled() { Notification::fake(); @@ -56,7 +56,7 @@ class AccessoryWebhookTest extends TestCase Notification::assertNotSentTo(new AnonymousNotifiable, CheckoutAccessoryNotification::class); } - public function testAccessoryCheckinSendsWebhookNotificationWhenSettingEnabled() + public function testAccessoryCheckinSendsSlackNotificationWhenSettingEnabled() { Notification::fake(); @@ -78,7 +78,7 @@ class AccessoryWebhookTest extends TestCase ); } - public function testAccessoryCheckinDoesNotSendWebhookNotificationWhenSettingDisabled() + public function testAccessoryCheckinDoesNotSendSlackNotificationWhenSettingDisabled() { Notification::fake(); diff --git a/tests/Feature/Notifications/AssetWebhookTest.php b/tests/Feature/Notifications/AssetSlackTest.php similarity index 87% rename from tests/Feature/Notifications/AssetWebhookTest.php rename to tests/Feature/Notifications/AssetSlackTest.php index d693ce3fe2..d0b376c65c 100644 --- a/tests/Feature/Notifications/AssetWebhookTest.php +++ b/tests/Feature/Notifications/AssetSlackTest.php @@ -15,7 +15,7 @@ use Illuminate\Support\Facades\Notification; use Tests\Support\InteractsWithSettings; use Tests\TestCase; -class AssetWebhookTest extends TestCase +class AssetSlackTest extends TestCase { use InteractsWithSettings; @@ -29,7 +29,7 @@ class AssetWebhookTest extends TestCase } /** @dataProvider targets */ - public function testAssetCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget) + public function testAssetCheckoutSendsSlackNotificationWhenSettingEnabled($checkoutTarget) { Notification::fake(); @@ -52,7 +52,7 @@ class AssetWebhookTest extends TestCase } /** @dataProvider targets */ - public function testAssetCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget) + public function testAssetCheckoutDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget) { Notification::fake(); @@ -69,7 +69,7 @@ class AssetWebhookTest extends TestCase } /** @dataProvider targets */ - public function testAssetCheckinSendsWebhookNotificationWhenSettingEnabled($checkoutTarget) + public function testAssetCheckinSendsSlackNotificationWhenSettingEnabled($checkoutTarget) { Notification::fake(); @@ -92,7 +92,7 @@ class AssetWebhookTest extends TestCase } /** @dataProvider targets */ - public function testAssetCheckinDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget) + public function testAssetCheckinDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget) { Notification::fake(); diff --git a/tests/Feature/Notifications/ComponentWebhookTest.php b/tests/Feature/Notifications/ComponentSlackTest.php similarity index 84% rename from tests/Feature/Notifications/ComponentWebhookTest.php rename to tests/Feature/Notifications/ComponentSlackTest.php index 2e2a535219..b9fba83690 100644 --- a/tests/Feature/Notifications/ComponentWebhookTest.php +++ b/tests/Feature/Notifications/ComponentSlackTest.php @@ -11,12 +11,12 @@ use Illuminate\Support\Facades\Notification; use Tests\Support\InteractsWithSettings; use Tests\TestCase; -class ComponentWebhookTest extends TestCase +class ComponentSlackTest extends TestCase { use InteractsWithSettings; - public function testComponentCheckoutDoesNotSendWebhookNotification() + public function testComponentCheckoutDoesNotSendSlackNotification() { Notification::fake(); @@ -32,7 +32,7 @@ class ComponentWebhookTest extends TestCase Notification::assertNothingSent(); } - public function testComponentCheckinDoesNotSendWebhookNotification() + public function testComponentCheckinDoesNotSendSlackNotification() { Notification::fake(); diff --git a/tests/Feature/Notifications/ConsumableWebhookTest.php b/tests/Feature/Notifications/ConsumableSlackTest.php similarity index 86% rename from tests/Feature/Notifications/ConsumableWebhookTest.php rename to tests/Feature/Notifications/ConsumableSlackTest.php index 035573bb4f..9fd5d0b82a 100644 --- a/tests/Feature/Notifications/ConsumableWebhookTest.php +++ b/tests/Feature/Notifications/ConsumableSlackTest.php @@ -12,11 +12,11 @@ use Illuminate\Support\Facades\Notification; use Tests\Support\InteractsWithSettings; use Tests\TestCase; -class ConsumableWebhookTest extends TestCase +class ConsumableSlackTest extends TestCase { use InteractsWithSettings; - public function testConsumableCheckoutSendsWebhookNotificationWhenSettingEnabled() + public function testConsumableCheckoutSendsSlackNotificationWhenSettingEnabled() { Notification::fake(); @@ -38,7 +38,7 @@ class ConsumableWebhookTest extends TestCase ); } - public function testConsumableCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled() + public function testConsumableCheckoutDoesNotSendSlackNotificationWhenSettingDisabled() { Notification::fake(); diff --git a/tests/Feature/Notifications/LicenseWebhookTest.php b/tests/Feature/Notifications/LicenseSlackTest.php similarity index 86% rename from tests/Feature/Notifications/LicenseWebhookTest.php rename to tests/Feature/Notifications/LicenseSlackTest.php index cfb2fca5b8..c10fbdf5c3 100644 --- a/tests/Feature/Notifications/LicenseWebhookTest.php +++ b/tests/Feature/Notifications/LicenseSlackTest.php @@ -15,7 +15,7 @@ use Illuminate\Support\Facades\Notification; use Tests\Support\InteractsWithSettings; use Tests\TestCase; -class LicenseWebhookTest extends TestCase +class LicenseSlackTest extends TestCase { use InteractsWithSettings; @@ -28,7 +28,7 @@ class LicenseWebhookTest extends TestCase } /** @dataProvider targets */ - public function testLicenseCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget) + public function testLicenseCheckoutSendsSlackNotificationWhenSettingEnabled($checkoutTarget) { Notification::fake(); @@ -51,7 +51,7 @@ class LicenseWebhookTest extends TestCase } /** @dataProvider targets */ - public function testLicenseCheckoutDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget) + public function testLicenseCheckoutDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget) { Notification::fake(); @@ -68,7 +68,7 @@ class LicenseWebhookTest extends TestCase } /** @dataProvider targets */ - public function testLicenseCheckinSendsWebhookNotificationWhenSettingEnabled($checkoutTarget) + public function testLicenseCheckinSendsSlackNotificationWhenSettingEnabled($checkoutTarget) { Notification::fake(); @@ -91,7 +91,7 @@ class LicenseWebhookTest extends TestCase } /** @dataProvider targets */ - public function testLicenseCheckinDoesNotSendWebhookNotificationWhenSettingDisabled($checkoutTarget) + public function testLicenseCheckinDoesNotSendSlackNotificationWhenSettingDisabled($checkoutTarget) { Notification::fake();