Fixed the tests

This commit is contained in:
James Cole 2015-03-28 07:00:53 +01:00
parent 0ef52bf909
commit 6fc54d1d27

View File

@ -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);
}