Skip to content

Commit 9c55c95

Browse files
committed
Patch: Ticket creation test was incomplete and not functional
1 parent c7b6c1e commit 9c55c95

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/TicketsTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,19 @@ public function testTicketCreate()
6565
// Member access
6666
if(!is_null($this->member)){
6767
$response = $this->actingAs($this->member)->get(route($this->main_route . '.create'));
68+
$this->versionAssertStatus($response, 200);
6869
}
6970

7071
// Agent access
7172
if(!is_null($this->agent)){
7273
$response = $this->actingAs($this->agent)->get(route($this->main_route . '.create'));
74+
$this->versionAssertStatus($response, 200);
7375
}
7476

7577
// Admin access
7678
if(!is_null($this->admin)){
7779
$response = $this->actingAs($this->admin)->get(route($this->main_route . '.create'));
80+
$this->versionAssertStatus($response, 200);
7881
}
7982
}
8083
}

0 commit comments

Comments
 (0)