Clean up code [skip ci]

This commit is contained in:
James Cole
2019-06-09 09:41:23 +02:00
parent 42bd5d05b5
commit 851c4d2907
13 changed files with 58 additions and 114 deletions

View File

@@ -59,8 +59,8 @@ class BillControllerTest extends TestCase
public function testStoreMinOverMax(): void
{
// create stuff
$bill = $this->user()->bills()->first();
$repository = $this->mock(BillRepositoryInterface::class);
$bill = $this->user()->bills()->first();
$repository = $this->mock(BillRepositoryInterface::class);
// mock calls:
$repository->shouldReceive('setUser')->once();