Apply fixes from StyleCI

This commit is contained in:
James Brooks
2019-11-13 08:51:36 +00:00
committed by StyleCI Bot
parent 62308b30e4
commit 83f7aa9b4c
2 changed files with 5 additions and 9 deletions

View File

@@ -99,7 +99,6 @@ class MailTest extends AbstractTestCase
$name = $incident['title'];
$message = $incident['description'];
dispatch(new CreateIncidentCommand(
$name,
$this->fakerFactory->numberBetween(0, 3),
@@ -129,13 +128,12 @@ class MailTest extends AbstractTestCase
$subscriber = $this->createSubscriber($this->fakerFactory->safeEmail);
$response = $this->post('dashboard/incidents/create', [
'name' => $this->fakerFactory->word,
'status' => 1,
'visible' => 1,
'message' => $this->fakerFactory->paragraph,
'notify' => 1
'notify' => 1,
]);
Notification::assertSentTo(
@@ -159,7 +157,7 @@ class MailTest extends AbstractTestCase
'status' => 1,
'visible' => 1,
'message' => $this->fakerFactory->paragraph,
'notify' => 0
'notify' => 0,
]);
Notification::assertNotSentTo(
@@ -175,13 +173,11 @@ class MailTest extends AbstractTestCase
{
Notification::fake();
$this->signIn();
$incident = $this->createIncident($this->incidents[1]);
$subscriber = $this->createSubscriber($this->fakerFactory->safeEmail);
$response = $this->post('dashboard/incidents/'.$incident->id.'/updates/create', [
'status' => 1,
'message' => $this->fakerFactory->paragraph,