mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Fixed the tests
This commit is contained in:
@@ -5,6 +5,7 @@ use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use App;
|
||||
use Log;
|
||||
/**
|
||||
* Class PiggyBank
|
||||
*
|
||||
@@ -43,6 +44,7 @@ class PiggyBank extends Model
|
||||
|
||||
return $rep;
|
||||
} else {
|
||||
Log::error('Tried to work with a piggy bank with a repeats=1 value! (id is '.$this->id.')');
|
||||
App::abort(500);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user