Przeglądaj źródła

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

Kamil Piechaczek 6 lat temu
rodzic
commit
829bfc1130

+ 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 );