Adds notify to test

This commit is contained in:
Anne-Greeth van Herwijnen
2019-04-26 14:26:50 +02:00
parent 9f42d55bb6
commit 57dd008064
2 changed files with 2 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ final class CreateScheduleCommand
* @param string $scheduled_at * @param string $scheduled_at
* @param string $completed_at * @param string $completed_at
* @param array $components * @param array $components
* @param bool $notify * @param bool $notify
* *
* @return void * @return void
*/ */

View File

@@ -52,6 +52,7 @@ class ScheduleTest extends AbstractApiTestCase
'message' => 'Foo bar, baz.', 'message' => 'Foo bar, baz.',
'status' => 1, 'status' => 1,
'scheduled_at' => date('Y-m-d H:i'), 'scheduled_at' => date('Y-m-d H:i'),
'notify' => 1,
]; ];
$response = $this->json('POST', '/api/v1/schedules/', $schedule); $response = $this->json('POST', '/api/v1/schedules/', $schedule);