Adds notify to test
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user