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
e1a27ab4b2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-build-decoupled-document/tests/ckeditor.js

+ 1 - 1
packages/ckeditor5-build-decoupled-document/tests/ckeditor.js

@@ -154,7 +154,7 @@ describe( 'DecoupledEditor 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 );