Add test coverage for creating tasks

This commit is contained in:
Dane Everitt 2020-06-28 14:41:22 -07:00
parent b9a451b528
commit 28c5729e48
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 243 additions and 5 deletions

View file

@ -64,7 +64,7 @@ class GetServerSchedulesTest extends ClientApiIntegrationTestCase
public function testScheduleBelongingToAnotherServerCannotBeViewed()
{
[$user, $server] = $this->generateTestAccount();
[, $server2] = $this->generateTestAccount();
[, $server2] = $this->generateTestAccount(['user_id' => $user->id]);
$schedule = factory(Schedule::class)->create(['server_id' => $server2->id]);