Skip to content

Commit 2e4aa2d

Browse files
test(unit test): Code smell fix
1 parent defd9d7 commit 2e4aa2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/IpVerificationTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ public function testCanVerifyIpInLiveModeWithCacheSystem($cacheAdapter, $origCac
6262

6363
if (in_array($origCacheName, ['PhpFilesAdapter', 'MemcachedAdapter'])) {
6464
$this->assertEquals(
65-
get_class($cacheAdapter),
6665
'Symfony\Component\Cache\Adapter\TagAwareAdapter',
66+
get_class($cacheAdapter),
6767
'Tested adapter should be correct'
6868
);
6969
} elseif ('RedisAdapter' == $origCacheName) {
7070
$this->assertEquals(
71-
get_class($cacheAdapter),
7271
'Symfony\Component\Cache\Adapter\RedisTagAwareAdapter',
72+
get_class($cacheAdapter),
7373
'Tested adapter should be correct'
7474
);
7575
}
@@ -169,14 +169,14 @@ public function testCanVerifyIpInStreamModeWithCacheSystem($cacheAdapter, $origC
169169

170170
if (in_array($origCacheName, ['PhpFilesAdapter', 'MemcachedAdapter'])) {
171171
$this->assertEquals(
172-
get_class($cacheAdapter),
173172
'Symfony\Component\Cache\Adapter\TagAwareAdapter',
173+
get_class($cacheAdapter),
174174
'Tested adapter should be correct'
175175
);
176176
} elseif ('RedisAdapter' == $origCacheName) {
177177
$this->assertEquals(
178-
get_class($cacheAdapter),
179178
'Symfony\Component\Cache\Adapter\RedisTagAwareAdapter',
179+
get_class($cacheAdapter),
180180
'Tested adapter should be correct'
181181
);
182182
}

0 commit comments

Comments
 (0)