Fix tests.

This commit is contained in:
James Cole
2017-11-22 20:30:23 +01:00
parent 3cb3c7f60f
commit 4e6b782204
4 changed files with 6 additions and 10 deletions

View File

@@ -40,10 +40,6 @@ class AccountType extends Model
const IMPORT = 'Import account';
const RECONCILIATION = 'Reconciliation account';
const LOAN = 'Loan';
/** @var array */
protected $fillable = ['type'];
/**
* The attributes that should be casted to native types.
*
@@ -54,6 +50,8 @@ class AccountType extends Model
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
/** @var array */
protected $fillable = ['type'];
/**
* @return HasMany

View File

@@ -38,10 +38,6 @@ class TransactionType extends Model
const TRANSFER = 'Transfer';
const OPENING_BALANCE = 'Opening balance';
const RECONCILIATION = 'Reconciliation';
/** @var array */
protected $fillable = ['type'];
/**
* The attributes that should be casted to native types.
*
@@ -53,6 +49,8 @@ class TransactionType extends Model
'updated_at' => 'datetime',
'deleted_at' => 'datetime',
];
/** @var array */
protected $fillable = ['type'];
/**
* @param string $type