Skip to content

Commit

Permalink
fix: build issue with outdated reference (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Powell authored and sfsholden committed Feb 24, 2021
1 parent 7bb0535 commit 727407b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/client/metadataApiRetrieve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import { createSandbox, match } from 'sinon';
import { ComponentSet } from '../../src';
import { RequestStatus } from '../../src/client/types';
import { MOCK_DEFAULT_OUTPUT, stubMetadataRetrieve } from '../mock/client/transferOperations';
import { mockRegistry } from '../mock/registry';
import { KATHY_COMPONENTS } from '../mock/registry/kathyConstants';
import { mockRegistry, xmlInFolder } from '../mock/registry';
import { KEANU_COMPONENT } from '../mock/registry/keanuConstants';

const env = createSandbox();
Expand Down Expand Up @@ -127,7 +126,7 @@ describe('MetadataApiRetrieve', async () => {
});

it('should report both successful and failed components', async () => {
const components = [KEANU_COMPONENT, KATHY_COMPONENTS[0], KATHY_COMPONENTS[1]];
const components = [KEANU_COMPONENT, xmlInFolder.COMPONENTS[0], xmlInFolder.COMPONENTS[1]];
const messages = [
`Failed to retrieve components of type '${components[0].type.name}' named '${components[0].fullName}'`,
`Failed to retrieve components of type '${components[1].type.name}' named '${components[1].fullName}'`,
Expand Down

0 comments on commit 727407b

Please sign in to comment.