Fix cache image generation when using cropresize (#2639)

This commit is contained in:
Jérôme Nadaud
2019-10-17 13:56:46 +02:00
committed by Andy Miller
parent b16e8066ca
commit ab6b82eaaa

View File

@@ -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>|',