Skip to content

Commit e6631f8

Browse files
committed
BUG in search tests of the updated search route name
1 parent 4050650 commit e6631f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/TicketsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,19 +178,19 @@ public function testTicketSearch()
178178
if ($this->status == "Installed" and !is_null($this->main_route)){
179179
// Member should not be able to access
180180
if(!is_null($this->member)){
181-
$response = $this->actingAs($this->member)->get(route($this->main_route . '.search.form'));
181+
$response = $this->actingAs($this->member)->get(route($this->main_route . '.search'));
182182
$this->versionAssertStatus($response, 302);
183183
}
184184

185185
// Agent access
186186
if(!is_null($this->agent)){
187-
$response = $this->actingAs($this->agent)->get(route($this->main_route . '.search.form'));
187+
$response = $this->actingAs($this->agent)->get(route($this->main_route . '.search'));
188188
$this->versionAssertStatus($response, 200);
189189
}
190190

191191
// Admin access
192192
if(!is_null($this->admin)){
193-
$response = $this->actingAs($this->admin)->get(route($this->main_route . '.search.form'));
193+
$response = $this->actingAs($this->admin)->get(route($this->main_route . '.search'));
194194
$this->versionAssertStatus($response, 200);
195195
}
196196
}

0 commit comments

Comments
 (0)