Fixed the tests.

This commit is contained in:
James Cole
2014-12-19 21:36:53 +01:00
parent 1a0cbbdb31
commit 8b901084fe
4 changed files with 17 additions and 16 deletions

View File

@@ -17,19 +17,4 @@ class Component extends Eloquent
protected $fillable = ['name', 'user_id','class'];
protected $table = 'components';
use ValidatingTrait;
// /**
// * remove this method in favour of something in the FireflyIII libraries.
// *
// * @return Carbon
// */
// public function lastActionDate()
// {
// $transaction = $this->transactionjournals()->orderBy('updated_at', 'DESC')->first();
// if (is_null($transaction)) {
// return null;
// }
//
// return $transaction->date;
// }
}