From d9e7a92b3cc6d549e013dbfb2bb0ff042273ff4d Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Wed, 22 Nov 2017 14:36:24 +1300 Subject: [PATCH] BUG Fix regressions in asset resize behaviour change --- tests/php/Forms/HTMLEditor/HTMLEditorFieldTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/php/Forms/HTMLEditor/HTMLEditorFieldTest.php b/tests/php/Forms/HTMLEditor/HTMLEditorFieldTest.php index 13737dc4e..3b15ae1fb 100644 --- a/tests/php/Forms/HTMLEditor/HTMLEditorFieldTest.php +++ b/tests/php/Forms/HTMLEditor/HTMLEditorFieldTest.php @@ -137,7 +137,7 @@ class HTMLEditorFieldTest extends FunctionalTest $this->assertEquals(20, (int)$xml[0]['height'], 'Height tag of resized image is set.'); $neededFilename - = '/assets/HTMLEditorFieldTest/f5c7c2f814/example__ResizedImageWyIxMCIsIjIwIl0.jpg'; + = '/assets/HTMLEditorFieldTest/f5c7c2f814/example__ResizedImageWzEwLDIwXQ.jpg'; $this->assertEquals($neededFilename, (string)$xml[0]['src'], 'Correct URL of resized image is set.'); $this->assertTrue(file_exists(BASE_PATH.DIRECTORY_SEPARATOR.$neededFilename), 'File for resized image exists'); @@ -186,7 +186,7 @@ class HTMLEditorFieldTest extends FunctionalTest $this->assertEquals( << - example + example @@ -203,7 +203,7 @@ EOS $this->assertEquals( << - example + example