Skip to content

Commit

Permalink
Remove variable portion of image path from test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Aug 20, 2022
1 parent 1332a2c commit 8b7507f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void testConstructor() throws Exception {

@Test
public void testConstructorPassingBuild32x32BallStyle() throws Exception {
String fileName = "/jenkins/static/3fcf04bd/images/32x32/blue.png";
String fileName = "images/32x32/blue.png";
StatusImage statusImage = new StatusImage(fileName);
assertThat(statusImage.getEtag(), containsString(fileName));
// assertThat(statusImage.getContentType(), is(PNG_CONTENT_TYPE));
Expand All @@ -196,7 +196,7 @@ public void testConstructorPassingBuild32x32BallStyle() throws Exception {

@Test
public void testConstructorPassingBuild16x16BallStyle() throws Exception {
String fileName = "/jenkins/static/3fcf04bd/images/16x16/blue.png";
String fileName = "images/16x16/blue.png";
StatusImage statusImage = new StatusImage(fileName);
assertThat(statusImage.getEtag(), containsString(fileName));
// assertThat(statusImage.getContentType(), is(PNG_CONTENT_TYPE));
Expand Down

0 comments on commit 8b7507f

Please sign in to comment.