mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Corrected API route for testing (#1078)
* Closes #922 * #922 added Windows section to build docs * go sum updated * updated go sum * fixed #963 - calling teams api if not on core * added command for seeding queries * added command default to higher level * linted test * only need 2 queries * fixed e2e command for seeding queries
This commit is contained in:
parent
de116a3cb0
commit
38d3bec074
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ Cypress.Commands.add("seedQueries", () => {
|
|||
queries.forEach((queryForm) => {
|
||||
const { name, query, description, observer_can_run } = queryForm;
|
||||
cy.request({
|
||||
url: "/v1/fleet/queries",
|
||||
url: "/api/v1/fleet/queries",
|
||||
method: "POST",
|
||||
body: { name, query, description, observer_can_run },
|
||||
auth: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue