Ran model helper, added some new features.

This commit is contained in:
James Cole
2014-08-30 14:27:05 +02:00
parent 9db4137a1b
commit a0a36c5137
8 changed files with 248 additions and 56 deletions

View File

@@ -78,7 +78,7 @@ class ChartControllerTest extends TestCase
{
$account = f::create('Account');
$type = f::create('AccountType');
$type->description = 'Default account';
$type->type = 'Default account';
$type->save();
$account->accounttype()->associate($type);
$account->save();