Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
62308b30e4
commit
83f7aa9b4c
@@ -99,7 +99,6 @@ class MailTest extends AbstractTestCase
|
|||||||
$name = $incident['title'];
|
$name = $incident['title'];
|
||||||
$message = $incident['description'];
|
$message = $incident['description'];
|
||||||
|
|
||||||
|
|
||||||
dispatch(new CreateIncidentCommand(
|
dispatch(new CreateIncidentCommand(
|
||||||
$name,
|
$name,
|
||||||
$this->fakerFactory->numberBetween(0, 3),
|
$this->fakerFactory->numberBetween(0, 3),
|
||||||
@@ -129,13 +128,12 @@ class MailTest extends AbstractTestCase
|
|||||||
|
|
||||||
$subscriber = $this->createSubscriber($this->fakerFactory->safeEmail);
|
$subscriber = $this->createSubscriber($this->fakerFactory->safeEmail);
|
||||||
|
|
||||||
|
|
||||||
$response = $this->post('dashboard/incidents/create', [
|
$response = $this->post('dashboard/incidents/create', [
|
||||||
'name' => $this->fakerFactory->word,
|
'name' => $this->fakerFactory->word,
|
||||||
'status' => 1,
|
'status' => 1,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
'message' => $this->fakerFactory->paragraph,
|
'message' => $this->fakerFactory->paragraph,
|
||||||
'notify' => 1
|
'notify' => 1,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Notification::assertSentTo(
|
Notification::assertSentTo(
|
||||||
@@ -159,7 +157,7 @@ class MailTest extends AbstractTestCase
|
|||||||
'status' => 1,
|
'status' => 1,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
'message' => $this->fakerFactory->paragraph,
|
'message' => $this->fakerFactory->paragraph,
|
||||||
'notify' => 0
|
'notify' => 0,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Notification::assertNotSentTo(
|
Notification::assertNotSentTo(
|
||||||
@@ -175,13 +173,11 @@ class MailTest extends AbstractTestCase
|
|||||||
{
|
{
|
||||||
Notification::fake();
|
Notification::fake();
|
||||||
|
|
||||||
|
|
||||||
$this->signIn();
|
$this->signIn();
|
||||||
|
|
||||||
$incident = $this->createIncident($this->incidents[1]);
|
$incident = $this->createIncident($this->incidents[1]);
|
||||||
$subscriber = $this->createSubscriber($this->fakerFactory->safeEmail);
|
$subscriber = $this->createSubscriber($this->fakerFactory->safeEmail);
|
||||||
|
|
||||||
|
|
||||||
$response = $this->post('dashboard/incidents/'.$incident->id.'/updates/create', [
|
$response = $this->post('dashboard/incidents/'.$incident->id.'/updates/create', [
|
||||||
'status' => 1,
|
'status' => 1,
|
||||||
'message' => $this->fakerFactory->paragraph,
|
'message' => $this->fakerFactory->paragraph,
|
||||||
|
|||||||
Reference in New Issue
Block a user