Skip to content

Commit

Permalink
Update Cypress test to use holdingsLogistics/v1
Browse files Browse the repository at this point in the history
In the dpl-react project, we migrated from `/holdings/v3` to `/holdingsLogistics/v1`. Refer to the pull request: danskernesdigitalebibliotek/dpl-react#1443.

This change caused the `user-journey` Cypress test to fail.
  • Loading branch information
kasperbirch1 committed Nov 28, 2024
1 parent 08903e0 commit e555360
Show file tree
Hide file tree
Showing 3 changed files with 2,358 additions and 82 deletions.
2 changes: 1 addition & 1 deletion packages/fbs-client/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion wiremock/src/mappings/work/createMappingsForWorkPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export default (baseUri?: string, options?: Options) => {
wiremock(baseUri, options).mappings.createMapping({
request: {
method: "GET",
urlPattern: "/external/agencyid/catalog/holdings/v3\\?recordid=.*",
urlPattern:
"/external/agencyid/catalog/holdingsLogistics/v1\\?recordid=.*",
},
response: {
jsonBody: json.default,
Expand Down
Loading

0 comments on commit e555360

Please sign in to comment.