mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-03 12:04:28 +00:00
Updated factory muffin. This breaks everything. Let's skip Travis until we've fixed it. [skip ci]
This commit is contained in:
@@ -44,7 +44,7 @@ class User extends Ardent implements UserInterface, RemindableInterface
|
||||
public static $rules
|
||||
= [
|
||||
'email' => 'required|email|unique:users,email',
|
||||
'migrated' => 'required|numeric|between:0,1',
|
||||
'migrated' => 'required|boolean',
|
||||
'password' => 'required|between:60,60',
|
||||
'reset' => 'between:32,32',
|
||||
];
|
||||
@@ -61,19 +61,6 @@ class User extends Ardent implements UserInterface, RemindableInterface
|
||||
*/
|
||||
protected $hidden = ['remember_token'];
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function factory()
|
||||
{
|
||||
return [
|
||||
'email' => 'email',
|
||||
'password' => 'sander',
|
||||
'migrated' => '0'
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user