[Security Solution] Fix Endpoint tests when prepackaged with a dev endpoint package (#147052)

## Summary

Change our query to use `prerelease` to correctly find dev endpoint
packages in tests


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
This commit is contained in:
Kevin Logan 2022-12-05 17:44:13 -05:00 committed by GitHub
parent 83a334974c
commit b79954c9b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@
},
{
"name": "endpoint",
"version": "8.6.1"
"version": "8.7.0-next"
},
{
"name": "fleet_server",

View file

@ -33,7 +33,7 @@ const INGEST_API_PACKAGE_POLICIES = `${INGEST_API_ROOT}/package_policies`;
const INGEST_API_PACKAGE_POLICIES_DELETE = `${INGEST_API_PACKAGE_POLICIES}/delete`;
const INGEST_API_EPM_PACKAGES = `${INGEST_API_ROOT}/epm/packages`;
const SECURITY_PACKAGES_ROUTE = `${INGEST_API_EPM_PACKAGES}?category=security&experimental=true`;
const SECURITY_PACKAGES_ROUTE = `${INGEST_API_EPM_PACKAGES}?category=security&prerelease=true`;
/**
* Holds information about the test resources created to support an Endpoint Policy