Explorar o código

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

Kamil Piechaczek %!s(int64=6) %!d(string=hai) anos
pai
achega
d379009bca
Modificáronse 1 ficheiros con 2 adicións e 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>'