mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Update helper name
This commit is contained in:
parent
10dad8e6e6
commit
b156aa74a5
|
@ -44,7 +44,7 @@ class AccessoryWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
$this->settings->disableWebhook();
|
$this->settings->disableSlackWebhook();
|
||||||
|
|
||||||
event(new CheckoutableCheckedOut(
|
event(new CheckoutableCheckedOut(
|
||||||
Accessory::factory()->appleBtKeyboard()->create(),
|
Accessory::factory()->appleBtKeyboard()->create(),
|
||||||
|
@ -82,7 +82,7 @@ class AccessoryWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
$this->settings->disableWebhook();
|
$this->settings->disableSlackWebhook();
|
||||||
|
|
||||||
event(new CheckoutableCheckedIn(
|
event(new CheckoutableCheckedIn(
|
||||||
Accessory::factory()->appleBtKeyboard()->create(),
|
Accessory::factory()->appleBtKeyboard()->create(),
|
||||||
|
|
|
@ -56,7 +56,7 @@ class AssetWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
$this->settings->disableWebhook();
|
$this->settings->disableSlackWebhook();
|
||||||
|
|
||||||
event(new CheckoutableCheckedOut(
|
event(new CheckoutableCheckedOut(
|
||||||
$this->createAsset(),
|
$this->createAsset(),
|
||||||
|
@ -96,7 +96,7 @@ class AssetWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
$this->settings->disableWebhook();
|
$this->settings->disableSlackWebhook();
|
||||||
|
|
||||||
event(new CheckoutableCheckedIn(
|
event(new CheckoutableCheckedIn(
|
||||||
$this->createAsset(),
|
$this->createAsset(),
|
||||||
|
|
|
@ -42,7 +42,7 @@ class ConsumableWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
$this->settings->disableWebhook();
|
$this->settings->disableSlackWebhook();
|
||||||
|
|
||||||
event(new CheckoutableCheckedOut(
|
event(new CheckoutableCheckedOut(
|
||||||
Consumable::factory()->cardstock()->create(),
|
Consumable::factory()->cardstock()->create(),
|
||||||
|
|
|
@ -55,7 +55,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
$this->settings->disableWebhook();
|
$this->settings->disableSlackWebhook();
|
||||||
|
|
||||||
event(new CheckoutableCheckedOut(
|
event(new CheckoutableCheckedOut(
|
||||||
LicenseSeat::factory()->create(),
|
LicenseSeat::factory()->create(),
|
||||||
|
@ -95,7 +95,7 @@ class LicenseWebhookTest extends TestCase
|
||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
$this->settings->disableWebhook();
|
$this->settings->disableSlackWebhook();
|
||||||
|
|
||||||
event(new CheckoutableCheckedIn(
|
event(new CheckoutableCheckedIn(
|
||||||
LicenseSeat::factory()->create(),
|
LicenseSeat::factory()->create(),
|
||||||
|
|
|
@ -49,7 +49,7 @@ class Settings
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function disableWebhook(): Settings
|
public function disableSlackWebhook(): Settings
|
||||||
{
|
{
|
||||||
return $this->update([
|
return $this->update([
|
||||||
'webhook_selected' => '',
|
'webhook_selected' => '',
|
||||||
|
|
Loading…
Reference in a new issue