From b396f2bed33fe213f6525f18664f8d1a341a6d9b Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 22 Mar 2023 12:41:30 -0700 Subject: [PATCH] Update test case names --- ....php => AssetCheckoutWebhookNotificationTest.php} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename tests/Feature/Notifications/{AssetCheckoutSlackNotificationTest.php => AssetCheckoutWebhookNotificationTest.php} (83%) diff --git a/tests/Feature/Notifications/AssetCheckoutSlackNotificationTest.php b/tests/Feature/Notifications/AssetCheckoutWebhookNotificationTest.php similarity index 83% rename from tests/Feature/Notifications/AssetCheckoutSlackNotificationTest.php rename to tests/Feature/Notifications/AssetCheckoutWebhookNotificationTest.php index ac61d4402a..1cbd1a823e 100644 --- a/tests/Feature/Notifications/AssetCheckoutSlackNotificationTest.php +++ b/tests/Feature/Notifications/AssetCheckoutWebhookNotificationTest.php @@ -11,9 +11,9 @@ use Illuminate\Notifications\AnonymousNotifiable; use Illuminate\Support\Facades\Notification; use Tests\TestCase; -class AssetCheckoutSlackNotificationTest extends TestCase +class AssetCheckoutWebhookNotificationTest extends TestCase { - public function testNotificationSentToSlackWhenAssetCheckedOutToUserAndSlackNotificationEnabled() + public function testNotificationSentToWebhookWhenAssetCheckedOutToUserAndWebhookNotificationEnabled() { Notification::fake(); @@ -35,7 +35,7 @@ class AssetCheckoutSlackNotificationTest extends TestCase ); } - public function testNotificationSentToSlackWhenAssetCheckedOutToAssetAndSlackNotificationEnabled() + public function testNotificationSentToWebhookWhenAssetCheckedOutToAssetAndWebhookNotificationEnabled() { Notification::fake(); @@ -57,7 +57,7 @@ class AssetCheckoutSlackNotificationTest extends TestCase ); } - public function testDoesNotSendNotificationViaSlackIfWebHookEndpointIsNotSetWhenCheckingOutAssetToAsset() + public function testDoesNotSendNotificationViaWebhookIfWebHookEndpointIsNotSetWhenCheckingOutAssetToAsset() { Notification::fake(); @@ -72,7 +72,7 @@ class AssetCheckoutSlackNotificationTest extends TestCase ); } - public function testNotificationSentToSlackWhenAssetCheckedOutToLocationAndSlackNotificationEnabled() + public function testNotificationSentToWebhookWhenAssetCheckedOutToLocationAndWebhookNotificationEnabled() { Notification::fake(); @@ -94,7 +94,7 @@ class AssetCheckoutSlackNotificationTest extends TestCase ); } - public function testDoesNotSendNotificationViaSlackIfWebHookEndpointIsNotSetWhenCheckingOutAssetToLocation() + public function testDoesNotSendNotificationViaWebhookIfWebHookEndpointIsNotSetWhenCheckingOutAssetToLocation() { Notification::fake();