From e4385c0f8c584061670a1f98b13bbe90a124ac05 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 14 May 2020 00:48:30 -0700 Subject: [PATCH] Fixes #8051 regression Signed-off-by: snipe --- app/Http/Requests/AssetRequest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Http/Requests/AssetRequest.php b/app/Http/Requests/AssetRequest.php index 65219f5408..47f039dcb3 100644 --- a/app/Http/Requests/AssetRequest.php +++ b/app/Http/Requests/AssetRequest.php @@ -27,11 +27,7 @@ class AssetRequest extends Request */ public function rules() { - // Below, asset_tag is duplicated here and in the model, largely because - // the functional tests will fail because of the way Form Requests work in - // Laravel. $rules = [ - 'asset_tag' => 'required|min:1|max:255|unique_undeleted', 'name' => 'max:255|nullable', 'model_id' => 'required|integer|exists:models,id', 'status_id' => 'required|integer|exists:status_labels,id',