mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-09 21:07:41 -08:00
back to having tests pass. needed to comment out the notes rules() i added
This commit is contained in:
parent
77c5035cac
commit
bebb72a04f
|
@ -19,12 +19,12 @@ class AssetCheckinRequest extends Request
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
'note' => 'required|in:asset,',
|
||||
|
||||
return $rules;
|
||||
}
|
||||
// public function rules()
|
||||
// {
|
||||
// 'note' => 'required|in:asset,',
|
||||
//
|
||||
// return $rules;
|
||||
// }
|
||||
|
||||
public function response(array $errors)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ class AssetCheckoutRequest extends Request
|
|||
'assigned_location' => 'required_without_all:assigned_user,assigned_asset',
|
||||
'status_id' => 'exists:status_labels,id,deployable,1',
|
||||
'checkout_to_type' => 'required|in:asset,location,user',
|
||||
'note' => 'required|in:asset,',
|
||||
// 'note' => 'required|in:asset,',
|
||||
'checkout_at' => [
|
||||
'nullable',
|
||||
'date',
|
||||
|
|
Loading…
Reference in a new issue