Remove exit clause from test.

This commit is contained in:
James Cole 2018-07-14 17:33:10 +02:00
parent 780e365a78
commit e4b1760b20
2 changed files with 2 additions and 1 deletions

View File

@ -149,6 +149,7 @@ class AmountControllerTest extends TestCase
$repository->shouldReceive('getAvailableBudget')->andReturn('100.123');
$accountRepos->shouldReceive('setUser');
$accountRepos->shouldReceive('getAccountsByType')->andReturn(new Collection);
$repository->shouldReceive('getAverageAvailable')->andReturn('100.123')->once();
$this->be($this->user());
$response = $this->get(route('budgets.income.info', ['20170101', '20170131']));
@ -170,6 +171,7 @@ class AmountControllerTest extends TestCase
$repository->shouldReceive('getAvailableBudget')->andReturn('100.123');
$accountRepos->shouldReceive('setUser');
$accountRepos->shouldReceive('getAccountsByType')->andReturn(new Collection);
$repository->shouldReceive('getAverageAvailable')->andReturn('100.123')->once();
$this->be($this->user());
$this->changeDateRange($this->user(), $range);

View File

@ -70,7 +70,6 @@ class FromAccountStartsTest extends TestCase
$trigger = FromAccountStarts::makeFromStrings(substr($account->name, 0, -3), false);
$result = $trigger->triggered($journal);
$this->assertTrue($result);
exit;
}
/**