Fix some test runner issues
This commit is contained in:
parent
9b79d9c756
commit
8952043600
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ abstract class AdminFormRequest extends FormRequest
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
abstract public function rules(): array;
|
abstract public function rules();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the user is an admin and has permission to access this
|
* Determine if the user is an admin and has permission to access this
|
||||||
|
|
|
@ -16,7 +16,7 @@ class OptionImportFormRequest extends AdminFormRequest
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function rules(): array
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'import_file' => 'bail|required|file|max:1000|mimetypes:application/json,text/plain',
|
'import_file' => 'bail|required|file|max:1000|mimetypes:application/json,text/plain',
|
||||||
|
|
|
@ -16,7 +16,7 @@ class ServiceFormRequest extends AdminFormRequest
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function rules(): array
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'name' => 'required|string|min:1|max:255',
|
'name' => 'required|string|min:1|max:255',
|
||||||
|
|
Loading…
Reference in a new issue