Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhirverma committed Mar 31, 2021
1 parent 7b40cc8 commit 6a7aaa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util/check-ref-resource.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as sinon from 'sinon';
import * as chai from 'chai';
import * as sinonChai from 'sinon-chai';
import { CliImpl } from '../../src/cli';
import { getPipelineResourceList, referenceOfTaskAndClusterTaskInCluster } from '../../src/util/check-ref-resource';
import { getPipelineList, referenceOfTaskAndClusterTaskInCluster } from '../../src/util/check-ref-resource';
import { Command } from '../../src/cli-command';
import { TestItem } from '../tekton/testTektonitem';
import { TknImpl } from '../../src/tkn';
Expand Down Expand Up @@ -78,7 +78,7 @@ suite('Reference Task/ClusterTask', () => {
'items': pipelineList
})
});
const result = await getPipelineResourceList();
const result = await getPipelineList();

expect(execStub).calledOnceWith(Command.listPipeline());
expect(result.length).equals(2);
Expand Down

0 comments on commit 6a7aaa9

Please sign in to comment.