Skip to content

Commit

Permalink
use released package for test
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Nov 3, 2022
1 parent 1a6e60e commit 9e529f8
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions x-pack/test/fleet_api_integration/apis/epm/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default function (providerContext: FtrProviderContext) {
});
it('returns package info from the archive if ?full=true', async function () {
const res = await supertest
.get(`/api/fleet/epm/packages/non_epr_fields/0.2.0?full=true`)
.get(`/api/fleet/epm/packages/non_epr_fields/1.0.0?full=true`)
.expect(200);
const packageInfo = res.body.item as PackageInfo;
expect(packageInfo?.data_streams?.length).equal(3);
Expand All @@ -186,7 +186,7 @@ export default function (providerContext: FtrProviderContext) {
});
it('returns package info from the registry if ?full=false', async function () {
const res = await supertest
.get(`/api/fleet/epm/packages/non_epr_fields/0.2.0?full=false`)
.get(`/api/fleet/epm/packages/non_epr_fields/1.0.0?full=false`)
.expect(200);
const packageInfo = res.body.item as PackageInfo;
expect(packageInfo?.data_streams?.length).equal(3);
Expand All @@ -199,7 +199,7 @@ export default function (providerContext: FtrProviderContext) {
});
it('returns package info from the registry if ?full not provided', async function () {
const res = await supertest
.get(`/api/fleet/epm/packages/non_epr_fields/0.2.0?full=false`)
.get(`/api/fleet/epm/packages/non_epr_fields/1.0.0?full=false`)
.expect(200);
const packageInfo = res.body.item as PackageInfo;
expect(packageInfo?.data_streams?.length).equal(3);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ format_version: 1.0.0
name: non_epr_fields
title: Non EPR Fields
description: This package contain fields in its manifest and datastreams such as source_mode which are not returned by the EPR API.
version: 0.2.0
version: 1.0.0
categories: []
release: beta
type: integration
Expand Down

0 comments on commit 9e529f8

Please sign in to comment.