mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge branch '4.8' into 4
This commit is contained in:
commit
12c11e5308
@ -1703,7 +1703,10 @@ class SiteTreeTest extends SapphireTest
|
|||||||
$cache = $method->invokeArgs($provider, []);
|
$cache = $method->invokeArgs($provider, []);
|
||||||
$method = $reflector->getMethod('deriveCacheKey');
|
$method = $reflector->getMethod('deriveCacheKey');
|
||||||
$method->setAccessible(true);
|
$method->setAccessible(true);
|
||||||
$key = $method->invokeArgs($provider, [$url]);
|
$class = 'leftAlone ss-htmleditorfield-file embed';
|
||||||
|
$width = '480';
|
||||||
|
$height = '270';
|
||||||
|
$key = $method->invokeArgs($provider, [$url, $class, $width, $height]);
|
||||||
|
|
||||||
// Set cache (VersionedCacheAdapter) on both DRAFT and LIVE
|
// Set cache (VersionedCacheAdapter) on both DRAFT and LIVE
|
||||||
foreach ([Versioned::DRAFT, Versioned::LIVE] as $stage) {
|
foreach ([Versioned::DRAFT, Versioned::LIVE] as $stage) {
|
||||||
|
Loading…
Reference in New Issue
Block a user