Fixes for tests.

This commit is contained in:
James Cole
2014-08-21 15:16:12 +02:00
parent fdba0addb6
commit a0b12ece54
16 changed files with 246 additions and 73 deletions

View File

@@ -31,24 +31,6 @@ class LimitRepetition extends Ardent
'amount' => 'numeric|required|min:0.01',
];
/**
* @return array
*/
public static function factory()
{
$start = new \Carbon\Carbon;
$start->startOfMonth();
$end = clone $start;
$end->endOfMonth();
return [
'limit_id' => 'factory|Limit',
'startdate' => $start,
'enddate' => $end,
'amount' => 100
];
}
/**
* @return array
*/