@@ -268,7 +268,7 @@ public function testCacheManagerNoClient()
268
268
try {
269
269
$ this ->assertProcessedConfigurationEquals (array (), array ($ format ));
270
270
$ this ->fail ('No exception thrown on invalid configuration ' );
271
- } catch (InvalidConfigurationException $ e ) {
271
+ } catch (InvalidConfigurationException $ e ) {
272
272
$ this ->assertContains ('need to configure a proxy_client ' , $ e ->getMessage ());
273
273
}
274
274
}
@@ -288,7 +288,7 @@ public function testTagsNoCacheManager()
288
288
try {
289
289
$ this ->assertProcessedConfigurationEquals (array (), array ($ format ));
290
290
$ this ->fail ('No exception thrown on invalid configuration ' );
291
- } catch (InvalidConfigurationException $ e ) {
291
+ } catch (InvalidConfigurationException $ e ) {
292
292
$ this ->assertContains ('cache_manager needed for tag handling ' , $ e ->getMessage ());
293
293
}
294
294
}
@@ -308,7 +308,7 @@ public function testInvalidationNoCacheManager()
308
308
try {
309
309
$ this ->assertProcessedConfigurationEquals (array (), array ($ format ));
310
310
$ this ->fail ('No exception thrown on invalid configuration ' );
311
- } catch (InvalidConfigurationException $ e ) {
311
+ } catch (InvalidConfigurationException $ e ) {
312
312
$ this ->assertContains ('cache_manager needed for invalidation handling ' , $ e ->getMessage ());
313
313
}
314
314
}
@@ -329,7 +329,7 @@ public function testTagRulesNotEnabled()
329
329
try {
330
330
$ this ->assertProcessedConfigurationEquals (array (), array ($ format ));
331
331
$ this ->fail ('No exception thrown on invalid configuration ' );
332
- } catch (InvalidConfigurationException $ e ) {
332
+ } catch (InvalidConfigurationException $ e ) {
333
333
$ this ->assertContains ('need to enable the cache_manager and tags to use rules ' , $ e ->getMessage ());
334
334
}
335
335
}
@@ -350,7 +350,7 @@ public function testInvalidationRulesNotEnabled()
350
350
try {
351
351
$ this ->assertProcessedConfigurationEquals (array (), array ($ format ));
352
352
$ this ->fail ('No exception thrown on invalid configuration ' );
353
- } catch (InvalidConfigurationException $ e ) {
353
+ } catch (InvalidConfigurationException $ e ) {
354
354
$ this ->assertContains ('need to enable the cache_manager and invalidation to use rules ' , $ e ->getMessage ());
355
355
}
356
356
}
@@ -370,7 +370,7 @@ public function testInvalidDate()
370
370
try {
371
371
$ this ->assertProcessedConfigurationEquals (array (), array ($ format ));
372
372
$ this ->fail ('No exception thrown on invalid configuration ' );
373
- } catch (InvalidConfigurationException $ e ) {
373
+ } catch (InvalidConfigurationException $ e ) {
374
374
$ this ->assertContains ('Failed to parse time string ' , $ e ->getMessage ());
375
375
}
376
376
}
@@ -393,7 +393,7 @@ public function testRulesBothStatusAndExpression()
393
393
try {
394
394
$ this ->assertProcessedConfigurationEquals (array (), array ($ format ));
395
395
$ this ->fail ('No exception thrown on invalid configuration ' );
396
- } catch (InvalidConfigurationException $ e ) {
396
+ } catch (InvalidConfigurationException $ e ) {
397
397
$ this ->assertContains ('may not set both additional_cacheable_status and match_response ' , $ e ->getMessage ());
398
398
}
399
399
}
0 commit comments