Skip to content

Commit

Permalink
Adjust formatting of assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Nov 3, 2024
1 parent 7a637f2 commit 706d6b0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/LocationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@
$fallback = m::mock(Driver::class)
->shouldAllowMockingProtectedMethods();

$fallback
->shouldReceive('get')->once()->andReturn(new Position());
$fallback->shouldReceive('get')
->once()
->andReturn(new Position());

$driver = m::mock(Driver::class)
->makePartial()
->shouldAllowMockingProtectedMethods();

$driver
->shouldReceive('process')->once()->andReturn(false);
$driver->shouldReceive('process')
->once()
->andReturn(false);

$driver->fallback($fallback);

Expand Down

0 comments on commit 706d6b0

Please sign in to comment.