Skip to content

Commit

Permalink
add another mock to fix CopyrightAndLicensesSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
siers committed Nov 21, 2024
1 parent 61055a9 commit f396b25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ object CopyrightAndLicensesSpec extends E2EZSpec {
val jsonLd = UploadFileRequest
.make(
FileType.StillImageFile(),
"internalFilename",
"internalFilename.jpg",
copyrightAttribution = Some(copyrightAttribution),
license = Some(license),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ object SipiServiceMock {
Ref
.make[Map[SipiMockMethodName, Task[Object]]](
Map(
GetFileMetadataFromSipiTemp -> ZIO.succeed(defaultGetFileMetadataFromSipiTempResponse),
GetFileMetadataFromSipiTemp -> ZIO.succeed(defaultGetFileMetadataFromSipiTempResponse),
GetFileMetadataFromDspIngest -> ZIO.succeed(defaultGetFileMetadataFromSipiTempResponse),
),
)
.map(ref => SipiServiceMock(ref)),
Expand Down

0 comments on commit f396b25

Please sign in to comment.