Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Fix content-length again for some reason. Update fcrepo image used in…
Browse files Browse the repository at this point in the history
… test
  • Loading branch information
jabrah committed Aug 1, 2022
1 parent a584d01 commit c89d672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- "${DOWNLOAD_SERVICE_PORT}:${DOWNLOAD_SERVICE_PORT}"

fcrepo:
image: oapass/fcrepo:4.7.5-3.2-5@sha256:0bc8bcf2b4804c0c4ba11af2ad3f02ec5a24a442b6d50877148c212dc79c20d1
image: oapass/fcrepo:0.1.0@sha256:d667883f2ea3c9d4235a019be4c16f8796949d864e56490c57aa896bd672027f
container_name: fcrepo
env_file: .env
ports:
Expand Down
2 changes: 1 addition & 1 deletion integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestIntegration(t *testing.T) {
t.Fatalf("Got wrong content type for PDF!")
}

if resp.Header.Get("Content-Length") != "1035596" {
if resp.Header.Get("Content-Length") != "1031677" {
t.Fatalf("Didn't get expected content length for pdf file")
}
}
Expand Down

0 comments on commit c89d672

Please sign in to comment.