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:
Martavis Parker 2021-06-14 11:27:20 -07:00 committed by GitHub
parent de116a3cb0
commit 38d3bec074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {