Skip to content

Commit d43f358

Browse files
authored
Merge pull request #367 from FriendsOfSymfony/analysis-XlwQgO
Apply fixes from StyleCI
2 parents 540d3d6 + 4e02318 commit d43f358

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Unit/CacheInvalidatorTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,30 +161,35 @@ public function testMethodException()
161161
/** @var MockInterface|ProxyClient $proxyClient */
162162
$proxyClient = \Mockery::mock(ProxyClient::class);
163163
$cacheInvalidator = new CacheInvalidator($proxyClient);
164+
164165
try {
165166
$cacheInvalidator->invalidatePath('/');
166167
$this->fail('Expected exception');
167168
} catch (UnsupportedProxyOperationException $e) {
168169
// success
169170
}
171+
170172
try {
171173
$cacheInvalidator->refreshPath('/');
172174
$this->fail('Expected exception');
173175
} catch (UnsupportedProxyOperationException $e) {
174176
// success
175177
}
178+
176179
try {
177180
$cacheInvalidator->invalidate([]);
178181
$this->fail('Expected exception');
179182
} catch (UnsupportedProxyOperationException $e) {
180183
// success
181184
}
185+
182186
try {
183187
$cacheInvalidator->invalidateRegex('/');
184188
$this->fail('Expected exception');
185189
} catch (UnsupportedProxyOperationException $e) {
186190
// success
187191
}
192+
188193
try {
189194
$cacheInvalidator->invalidateTags([]);
190195
$this->fail('Expected exception');

0 commit comments

Comments
 (0)