Преглед изворни кода

Tests: Use sample file for automated tests. See ckeditor/ckeditor5-dev#139.

Maciej Gołaszewski пре 6 година
родитељ
комит
ba3a1ea3c9
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      packages/ckeditor5-heading/tests/integration.js

+ 2 - 2
packages/ckeditor5-heading/tests/integration.js

@@ -72,7 +72,7 @@ describe( 'Heading integration', () => {
 		it( 'should not destroy the image when a selection converted to a heading', () => {
 			setModelData( model,
 				'<paragraph>fo[o</paragraph>' +
-				'<image src="foo.png">' +
+				'<image src="/assets/sample.png">' +
 					'<caption>xxx</caption>' +
 				'</image>' +
 				'<paragraph>b]ar</paragraph>'
@@ -82,7 +82,7 @@ describe( 'Heading integration', () => {
 
 			expect( getModelData( model ) ).to.equal(
 				'<heading1>fo[o</heading1>' +
-				'<image src="foo.png">' +
+				'<image src="/assets/sample.png">' +
 					'<caption>xxx</caption>' +
 				'</image>' +
 				'<heading1>b]ar</heading1>'