[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2021-06-12 22:12:38 -07:00 committed by GitHub
parent 73225daa87
commit 9851b7bcfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 126 additions and 126 deletions

View file

@ -47,16 +47,16 @@ export default function ({ getService }) {
const kibanaServer = getService('kibanaServer');
describe('kibana stats api', () => {
before(() =>
kibanaServer.importExport.load(
before(async () => {
await kibanaServer.importExport.load(
'test/api_integration/fixtures/kbn_archiver/saved_objects/basic.json'
)
);
after(() =>
kibanaServer.importExport.unload(
);
});
after(async () => {
await kibanaServer.importExport.unload(
'test/api_integration/fixtures/kbn_archiver/saved_objects/basic.json'
)
);
);
});
describe('basic', () => {
it('should return the stats without cluster_uuid with no query string params', () => {