mirror of
https://github.com/getgrav/grav.git
synced 2026-07-06 00:08:46 +02:00
Fix cache image generation when using cropresize (#2639)
This commit is contained in:
committed by
Andy Miller
parent
b16e8066ca
commit
ab6b82eaaa
@@ -110,6 +110,7 @@ class ParsedownTest extends \Codeception\TestCase\Test
|
||||
|
||||
public function testImagesSubDir()
|
||||
{
|
||||
$this->config->set('system.images.cache_all', false);
|
||||
$this->uri->initializeWithUrlAndRootPath('http://testing.dev/subdir/item2/item2-2', '/subdir')->init();
|
||||
|
||||
$this->assertRegexp('|<p><img alt="" src="\/subdir\/images\/.*-home-cache-image.jpe?g" \/><\/p>|',
|
||||
|
||||
Reference in New Issue
Block a user