Update helper name

This commit is contained in:
Marcus Moore 2024-02-27 16:45:49 -08:00
parent 10dad8e6e6
commit b156aa74a5
No known key found for this signature in database
5 changed files with 8 additions and 8 deletions

View file

@ -44,7 +44,7 @@ class AccessoryWebhookTest extends TestCase
{
Notification::fake();
$this->settings->disableWebhook();
$this->settings->disableSlackWebhook();
event(new CheckoutableCheckedOut(
Accessory::factory()->appleBtKeyboard()->create(),
@ -82,7 +82,7 @@ class AccessoryWebhookTest extends TestCase
{
Notification::fake();
$this->settings->disableWebhook();
$this->settings->disableSlackWebhook();
event(new CheckoutableCheckedIn(
Accessory::factory()->appleBtKeyboard()->create(),

View file

@ -56,7 +56,7 @@ class AssetWebhookTest extends TestCase
{
Notification::fake();
$this->settings->disableWebhook();
$this->settings->disableSlackWebhook();
event(new CheckoutableCheckedOut(
$this->createAsset(),
@ -96,7 +96,7 @@ class AssetWebhookTest extends TestCase
{
Notification::fake();
$this->settings->disableWebhook();
$this->settings->disableSlackWebhook();
event(new CheckoutableCheckedIn(
$this->createAsset(),

View file

@ -42,7 +42,7 @@ class ConsumableWebhookTest extends TestCase
{
Notification::fake();
$this->settings->disableWebhook();
$this->settings->disableSlackWebhook();
event(new CheckoutableCheckedOut(
Consumable::factory()->cardstock()->create(),

View file

@ -55,7 +55,7 @@ class LicenseWebhookTest extends TestCase
{
Notification::fake();
$this->settings->disableWebhook();
$this->settings->disableSlackWebhook();
event(new CheckoutableCheckedOut(
LicenseSeat::factory()->create(),
@ -95,7 +95,7 @@ class LicenseWebhookTest extends TestCase
{
Notification::fake();
$this->settings->disableWebhook();
$this->settings->disableSlackWebhook();
event(new CheckoutableCheckedIn(
LicenseSeat::factory()->create(),

View file

@ -49,7 +49,7 @@ class Settings
]);
}
public function disableWebhook(): Settings
public function disableSlackWebhook(): Settings
{
return $this->update([
'webhook_selected' => '',