Improve test class names

This commit is contained in:
Marcus Moore 2023-04-05 12:23:11 -07:00
parent 6df8f0f35c
commit b41902976b
No known key found for this signature in database
4 changed files with 4 additions and 5 deletions

View file

@ -2,7 +2,6 @@
namespace Tests\Feature\Notifications; namespace Tests\Feature\Notifications;
use App\Events\CheckoutableCheckedOut; use App\Events\CheckoutableCheckedOut;
use App\Models\Accessory; use App\Models\Accessory;
use App\Models\Setting; use App\Models\Setting;
@ -12,7 +11,7 @@ use Illuminate\Notifications\AnonymousNotifiable;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Tests\TestCase; use Tests\TestCase;
class AccessoryCheckoutWebhookNotificationTest extends TestCase class AccessoryWebhookTest extends TestCase
{ {
public function testWebhookNotificationsAreSentOnAccessoryCheckoutWhenWebhookSettingEnabled() public function testWebhookNotificationsAreSentOnAccessoryCheckoutWhenWebhookSettingEnabled()
{ {

View file

@ -13,7 +13,7 @@ use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Tests\TestCase; use Tests\TestCase;
class AssetCheckoutWebhookNotificationTest extends TestCase class AssetWebhookTest extends TestCase
{ {
public function checkoutTargets() public function checkoutTargets()
{ {

View file

@ -11,7 +11,7 @@ use Illuminate\Notifications\AnonymousNotifiable;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Tests\TestCase; use Tests\TestCase;
class ConsumableCheckoutWebhookNotificationTest extends TestCase class ConsumableWebhookTest extends TestCase
{ {
public function testWebhookNotificationsAreSentOnConsumableCheckoutWhenWebhookSettingEnabled() public function testWebhookNotificationsAreSentOnConsumableCheckoutWhenWebhookSettingEnabled()
{ {

View file

@ -12,7 +12,7 @@ use Illuminate\Notifications\AnonymousNotifiable;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Tests\TestCase; use Tests\TestCase;
class LicenseCheckoutWebhookNotificationTest extends TestCase class LicenseWebhookTest extends TestCase
{ {
public function checkoutTargets() public function checkoutTargets()
{ {