Skip to content

Commit

Permalink
Fixed creation of \Nette\Http\Request in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
KacerCZ authored and Spamercz committed Feb 26, 2020
1 parent c3ee7bd commit d3e572f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/KdybyTests/Redis/RedisSessionHandlerTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class RedisSessionHandlerTest extends \KdybyTests\Redis\AbstractRedisTestCase
[],
'GET',
];
if (\class_exists(\Nette\DI\Definitions\ServiceDefinition::class)) {
if (\class_exists(\Nette\Http\UrlImmutable::class)) {
unset($arguments[1]);
}

Expand Down Expand Up @@ -336,7 +336,7 @@ class RedisSessionHandlerTest extends \KdybyTests\Redis\AbstractRedisTestCase
[],
'GET',
];
if (\class_exists(\Nette\DI\Definitions\ServiceDefinition::class)) {
if (\class_exists(\Nette\Http\UrlImmutable::class)) {
unset($arguments[1]);
}

Expand Down

0 comments on commit d3e572f

Please sign in to comment.