Explorar el Código

All tests require an image that exists. It will not cause the 404 error.

Kamil Piechaczek hace 6 años
padre
commit
d379009bca
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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>'