Some experimental model tests.

This commit is contained in:
James Cole
2014-07-09 13:19:30 +02:00
parent 5645f7a893
commit 84f4e80da1
8 changed files with 93 additions and 111 deletions

View File

@@ -18,6 +18,14 @@ class User extends Elegant implements UserInterface, RemindableInterface
'password' => 'required|between:60,60',
'reset' => 'between:32,32',
];
public static $factory
= [
'email' => 'email',
'password' => 'string',
'migrated' => '0'
];
/**
* The database table used by the model.
*