Update test names

This commit is contained in:
Marcus Moore 2024-02-27 16:48:17 -08:00
parent b156aa74a5
commit c08164d864
No known key found for this signature in database
5 changed files with 21 additions and 21 deletions

View file

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

View file

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

View file

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

View file

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

View file

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