Skip to content

Commit

Permalink
Fixing type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-buttner committed Sep 28, 2020
1 parent 3f8295d commit 7f02b5f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { skipIfNoDockerRegistry } from '../../helpers';
import {
BulkInstallPackageInfo,
BulkInstallPackagesResponse,
IBulkInstallPackageError,
IBulkInstallPackageHTTPError,
} from '../../../../plugins/ingest_manager/common';

export default function (providerContext: FtrProviderContext) {
Expand Down Expand Up @@ -68,7 +68,7 @@ export default function (providerContext: FtrProviderContext) {
expect(entry.oldVersion).equal('0.1.0');
expect(entry.newVersion).equal('0.3.0');

const err = body.response[1] as IBulkInstallPackageError;
const err = body.response[1] as IBulkInstallPackageHTTPError;
expect(err.statusCode).equal(404);
expect(body.response[1].name).equal('blahblah');
});
Expand Down

0 comments on commit 7f02b5f

Please sign in to comment.