back to having tests pass. needed to comment out the notes rules() i added

This commit is contained in:
akemidx 2024-09-04 17:53:19 -04:00
parent 77c5035cac
commit bebb72a04f
2 changed files with 7 additions and 7 deletions

View file

@ -19,12 +19,12 @@ class AssetCheckinRequest extends Request
* *
* @return array * @return array
*/ */
public function rules() // public function rules()
{ // {
'note' => 'required|in:asset,', // 'note' => 'required|in:asset,',
//
return $rules; // return $rules;
} // }
public function response(array $errors) public function response(array $errors)
{ {

View file

@ -27,7 +27,7 @@ class AssetCheckoutRequest extends Request
'assigned_location' => 'required_without_all:assigned_user,assigned_asset', 'assigned_location' => 'required_without_all:assigned_user,assigned_asset',
'status_id' => 'exists:status_labels,id,deployable,1', 'status_id' => 'exists:status_labels,id,deployable,1',
'checkout_to_type' => 'required|in:asset,location,user', 'checkout_to_type' => 'required|in:asset,location,user',
'note' => 'required|in:asset,', // 'note' => 'required|in:asset,',
'checkout_at' => [ 'checkout_at' => [
'nullable', 'nullable',
'date', 'date',