Skip to content

Commit

Permalink
Merge pull request #185 from Deltares/fix-post-scenario-url
Browse files Browse the repository at this point in the history
Fix post scenario test
  • Loading branch information
hvangeffen authored Feb 10, 2025
2 parents acbfe47 + 66f8e71 commit 031e4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/fews/postWhatIfScenario.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe("postWhatIfScenario", function () {

it("generates a valid postWhatIfScenario request", async function () {
const baseUrl =
"https://mock.dev/fewswebservices/rest/fewspiservice/v1/whatifscenario";
"https://mock.dev/fewswebservices/rest/fewspiservice/v1/whatifscenarios";
const queryParams = `whatIfTemplateId=testid&name=test&property(ADD_SURGE)=0.2&property(MULTIPLY_SURGE)=1.3`;

const url = `${baseUrl}?${queryParams}`;
Expand Down

0 comments on commit 031e4eb

Please sign in to comment.