mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Update helper name
This commit is contained in:
parent
10dad8e6e6
commit
b156aa74a5
|
@ -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(),
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -42,7 +42,7 @@ class ConsumableWebhookTest extends TestCase
|
|||
{
|
||||
Notification::fake();
|
||||
|
||||
$this->settings->disableWebhook();
|
||||
$this->settings->disableSlackWebhook();
|
||||
|
||||
event(new CheckoutableCheckedOut(
|
||||
Consumable::factory()->cardstock()->create(),
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -49,7 +49,7 @@ class Settings
|
|||
]);
|
||||
}
|
||||
|
||||
public function disableWebhook(): Settings
|
||||
public function disableSlackWebhook(): Settings
|
||||
{
|
||||
return $this->update([
|
||||
'webhook_selected' => '',
|
||||
|
|
Loading…
Reference in a new issue