Fix for travis tests

This commit is contained in:
Hillel Coren 2016-05-04 11:14:20 +03:00
parent 2fcb1d66a5
commit 2a6876a902
2 changed files with 0 additions and 60 deletions

View File

@ -1,30 +0,0 @@
<?php namespace App\Http\Requests;
use App\Http\Requests\Request;
use Illuminate\Validation\Factory;
class CreatePaymentTermRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'num_days' => 'required',
'name' => 'required',
];
}
}

View File

@ -1,30 +0,0 @@
<?php namespace App\Http\Requests;
use App\Http\Requests\Request;
use Illuminate\Validation\Factory;
class UpdateExpenseRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'amount' => 'required|positive',
];
}
}