Commit 17c4378f authored by Kamil Piechaczek's avatar Kamil Piechaczek

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

parent 39718555
...@@ -154,7 +154,7 @@ describe( 'DecoupledEditor build', () => { ...@@ -154,7 +154,7 @@ describe( 'DecoupledEditor build', () => {
} ); } );
it( 'image works', () => { 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 ); editor.setData( data );
expect( editor.getData() ).to.equal( data ); expect( editor.getData() ).to.equal( data );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment