mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Remove duplicated API calls unit-test
Remove duplicated API calls unit-test
This commit is contained in:
@@ -68,12 +68,6 @@ describe('<ExecutionEnvironmentAdd/>', () => {
|
|||||||
let history;
|
let history;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
ExecutionEnvironmentsAPI.readOptions.mockResolvedValue(mockOptions);
|
|
||||||
ExecutionEnvironmentsAPI.create.mockResolvedValue({
|
|
||||||
data: {
|
|
||||||
id: 42,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
CredentialTypesAPI.read.mockResolvedValue(
|
CredentialTypesAPI.read.mockResolvedValue(
|
||||||
containerRegistryCredentialResolve
|
containerRegistryCredentialResolve
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user