Updated factory muffin. This breaks everything. Let's skip Travis until we've fixed it. [skip ci]

This commit is contained in:
James Cole
2014-08-21 07:21:56 +02:00
parent 45eb092ab6
commit 22bd995b42
29 changed files with 138 additions and 66 deletions

View File

@@ -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
*/