From 57dd008064a3f373c136c8c22ac8bacc4ecaeeed Mon Sep 17 00:00:00 2001 From: Anne-Greeth van Herwijnen Date: Fri, 26 Apr 2019 14:26:50 +0200 Subject: [PATCH] Adds notify to test --- app/Bus/Commands/Schedule/CreateScheduleCommand.php | 2 +- tests/Api/ScheduleTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Bus/Commands/Schedule/CreateScheduleCommand.php b/app/Bus/Commands/Schedule/CreateScheduleCommand.php index c7adc096..d40d68df 100644 --- a/app/Bus/Commands/Schedule/CreateScheduleCommand.php +++ b/app/Bus/Commands/Schedule/CreateScheduleCommand.php @@ -91,7 +91,7 @@ final class CreateScheduleCommand * @param string $scheduled_at * @param string $completed_at * @param array $components - * @param bool $notify + * @param bool $notify * * @return void */ diff --git a/tests/Api/ScheduleTest.php b/tests/Api/ScheduleTest.php index 99b67b64..3c114c05 100644 --- a/tests/Api/ScheduleTest.php +++ b/tests/Api/ScheduleTest.php @@ -52,6 +52,7 @@ class ScheduleTest extends AbstractApiTestCase 'message' => 'Foo bar, baz.', 'status' => 1, 'scheduled_at' => date('Y-m-d H:i'), + 'notify' => 1, ]; $response = $this->json('POST', '/api/v1/schedules/', $schedule);