Merge pull request #10163 from nixocio/ui_remove_dupe

Remove duplicated API calls unit-test

Remove duplicated API calls unit-test

Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
softwarefactory-project-zuul[bot] 2021-05-10 21:18:28 +00:00 committed by GitHub
commit a581e26414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,12 +68,6 @@ describe('<ExecutionEnvironmentAdd/>', () => {
let history;
beforeEach(async () => {
ExecutionEnvironmentsAPI.readOptions.mockResolvedValue(mockOptions);
ExecutionEnvironmentsAPI.create.mockResolvedValue({
data: {
id: 42,
},
});
CredentialTypesAPI.read.mockResolvedValue(
containerRegistryCredentialResolve
);