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

@@ -36,23 +36,10 @@ class Account extends Ardent
'name' => 'required|between:1,100',
'user_id' => 'required|exists:users,id',
'account_type_id' => 'required|exists:account_types,id',
'active' => 'required|between:0,1|numeric'
'active' => 'required|boolean'
];
/**
* Factory instructions
*
* @var array
*/
public static $factory
= [
'name' => 'string',
'user_id' => 'factory|User',
'account_type_id' => 'factory|AccountType',
'active' => '1'
];
/**
* Account type.
*