Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 12, 2024
1 parent c6be744 commit 22ccdb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/UI/Presenter.storeRequest().phpt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TestPresenter extends Application\UI\Presenter
test('ok', function () {
$testedKeyExistence = $storedKey = $storedValue = $testExpiration = $testExpirationVariables = null;

$sessionSectionMock = @Mockery::mock(Nette\Http\SessionSection::class);
$sessionSectionMock = Mockery::mock(Nette\Http\SessionSection::class);
$sessionSectionMock->shouldReceive('setExpiration')
->andReturnUsing(function ($expiration, $variables = null) use (&$testExpiration, &$testExpirationVariables, $sessionSectionMock) {
$testExpiration = $expiration;
Expand Down

0 comments on commit 22ccdb0

Please sign in to comment.