fix(cli): use renamed backend APIs
This commit is contained in:
@@ -212,7 +212,7 @@ test("sends auth headers and simulation body through the backend API contract",
|
||||
|
||||
assert.equal(result.exitCode, 0, result.stderr);
|
||||
assert.equal(server.seen[0].method, "POST");
|
||||
assert.equal(server.seen[0].url, "/api/v1/runsimulationmanuallybydate/");
|
||||
assert.equal(server.seen[0].url, "/api/v1/simulations/run-by-date");
|
||||
assert.equal(server.seen[0].headers.authorization, "Bearer token-1");
|
||||
assert.equal(server.seen[0].headers["x-extra"], "extra");
|
||||
assert.deepEqual(server.seen[0].body, {
|
||||
|
||||
Reference in New Issue
Block a user