Explorar o código

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

Maciej Gołaszewski %!s(int64=6) %!d(string=hai) anos
pai
achega
ba3a1ea3c9
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>'