'Trying to overwrite a cache redirect for "%s" with one that has nothing in common, old one at address "%s" was pointing to "%s", new one points to "%s".',
$this->expectExceptionMessage('Trying to overwrite a cache redirect for "your:housing:situation:gt.garden:ht.house" with one that has nothing in common, old one at address "house.type, garden.type" was pointing to "house.orientation", new one points to "solar.type".');
@@ -550,13 +522,8 @@ public function testIncompatibleChainedRedirectsException(): void {
$this->expectExceptionMessage('Trying to overwrite a cache redirect for "your:housing:situation:gt.garden:ht.house" with one that has nothing in common, old one at address "house.type, garden.type" was pointing to "house.orientation", new one points to "solar.type".');
@@ -600,13 +561,8 @@ public function testIncompatibleChainedRedirectsComplexException(): void {
// Now we arrive at the same scenario as the test above. We have a redirect
// chain at house.type of garden.type and finally house.orientation, but are
// trying to set solar.type at that last address.
try{
$this->setVariationCacheItem('You have a nice house with solar panels and a garden!',$solar_cacheability,$house_cacheability);
}
finally{
restore_error_handler();
}
}
/**
* Creates the sorted cache ID from cache ID parts.