Skip to content

Commit

Permalink
Merge pull request #244 from basil/css
Browse files Browse the repository at this point in the history
Eliminate reliance on Update Center
  • Loading branch information
basil authored Oct 23, 2020
2 parents 82a106d + a58de48 commit 83afa2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ public void testEmailWithMixedCss() {
public void testImageInliningOff() {
String input = "<html>"
+ " <body>"
+ " <img src='https://updates.jenkins-ci.org/icons/blank.gif' />"
+ " <img src='"
+ getClass().getClassLoader().getResource("blank.gif").toExternalForm()
+ "' />"
+ " </body>"
+ "</html>";

Expand All @@ -117,7 +119,9 @@ public void testImageInliningOff() {
public void testImageInliningOn() {
String input = "<html>"
+ " <body>"
+ " <img src='https://updates.jenkins-ci.org/icons/blank.gif' data-inline='true' />"
+ " <img src='"
+ getClass().getClassLoader().getResource("blank.gif").toExternalForm()
+ "' data-inline='true' />"
+ " </body>"
+ "</html>";

Expand Down
Binary file added src/test/resources/blank.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83afa2a

Please sign in to comment.