All API routes seem to work.

This commit is contained in:
James Cole
2018-03-04 08:22:32 +01:00
parent 2ab44fb33a
commit 7171e69715
7 changed files with 12 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ class TransactionControllerTest extends TestCase
// mock calls:
$repository->shouldReceive('setUser')->once();
$repository->shouldReceive('delete')->once()->andReturn(true);
$repository->shouldReceive('destroy')->once()->andReturn(true);
// get account:
$transaction = $this->user()->transactions()->first();