Skip to content

Commit

Permalink
test: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-it committed Apr 13, 2023
1 parent 12654dc commit 3c770fd
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import de.digitalcollections.iiif.hymir.Application;
import de.digitalcollections.iiif.hymir.TestConfiguration;
import de.digitalcollections.iiif.hymir.image.frontend.IIIFImageApiController;
import de.digitalcollections.iiif.hymir.presentation.business.PresentationServiceImpl;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -67,13 +66,13 @@ public void testManifestNotAcceptableHeader() {
requestHeaders.add("Accept", "application/something-strange");

ResponseEntity<String> response =
restTemplate.exchange(
"/presentation/"
+ IIIFPresentationApiController.VERSION
+ "/manifest-valid-data/manifest",
HttpMethod.GET,
new HttpEntity<>(requestHeaders),
String.class);
restTemplate.exchange(
"/presentation/"
+ IIIFPresentationApiController.VERSION
+ "/manifest-valid-data/manifest",
HttpMethod.GET,
new HttpEntity<>(requestHeaders),
String.class);
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.NOT_ACCEPTABLE);
}
}

0 comments on commit 3c770fd

Please sign in to comment.