Sfoglia il codice sorgente

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

Kamil Piechaczek 6 anni fa
parent
commit
829bfc1130
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/ckeditor5-build-inline/tests/ckeditor.js

+ 1 - 1
packages/ckeditor5-build-inline/tests/ckeditor.js

@@ -127,7 +127,7 @@ describe( 'InlineEditor build', () => {
 		} );
 
 		it( 'image works', () => {
-			const data = '<figure class="image"><img src="./manual/sample.jpg"></figure>';
+			const data = '<figure class="image"><img src="/assets/sample.png"></figure>';
 
 			editor.setData( data );
 			expect( editor.getData() ).to.equal( data );