8
0
Quellcode durchsuchen

Test: Corrected variable name.

Marek Lewandowski vor 6 Jahren
Ursprung
Commit
a2b6a03be7
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      packages/ckeditor5-image/tests/imageresize.js

+ 3 - 3
packages/ckeditor5-image/tests/imageresize.js

@@ -26,7 +26,7 @@ describe( 'ImageResize', () => {
 	const IMAGE_SRC_FIXTURE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAQAAAAAPLY1AAAAQklEQVR42u3PQREAAAgDoK1/' +
 		'aM3g14MGNJMXKiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiJysRFNMgH0RpujAAAAAElFTkSuQmCC';
 
-	const CONFIG_RESIZE_IN_PIXELS = {
+	const CONFIG_RESIZE_IN_PERCENTS = {
 		plugins: [ Image, ImageStyle, Paragraph, Undo, Table, ImageResize ]
 	};
 
@@ -442,7 +442,7 @@ describe( 'ImageResize', () => {
 	describe( 'percent resizing', () => {
 		describe( 'standard image', () => {
 			before( () => {
-				customConfig = CONFIG_RESIZE_IN_PIXELS;
+				customConfig = CONFIG_RESIZE_IN_PERCENTS;
 			} );
 
 			after( () => {
@@ -498,7 +498,7 @@ describe( 'ImageResize', () => {
 
 		describe( 'side image', () => {
 			before( () => {
-				customConfig = CONFIG_RESIZE_IN_PIXELS;
+				customConfig = CONFIG_RESIZE_IN_PERCENTS;
 			} );
 
 			after( () => {