Add test coverage for creating tasks
This commit is contained in:
parent
b9a451b528
commit
28c5729e48
8 changed files with 243 additions and 5 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue