write test for search codes

This commit is contained in:
2024-12-18 14:00:29 +03:30
parent b8f5ed10ba
commit a8efd6aac0
5 changed files with 75 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ class VerifyBySupervisorRequest extends FormRequest
*/
public function authorize(): bool
{
return Gate::allows('gate-supervise-road-item', $this->road_item);
return Gate::allows('gate-supervise-road-item', $this->roadItemsProject);
}
/**