Skip to content
Snippets Groups Projects
Commit d41da4c3 authored by Andrew Fontaine's avatar Andrew Fontaine
Browse files

Update approval count options to include 0

0 is an allowable value.

Changelog: fixed
EE: true
parent 91941dc6
No related branches found
No related tags found
1 merge request!92694Update approval count options to include 0
......@@ -156,7 +156,7 @@ export default {
);
},
},
APPROVAL_COUNT_OPTIONS: [1, 2, 3, 4, 5],
APPROVAL_COUNT_OPTIONS: [0, 1, 2, 3, 4, 5],
};
</script>
......
......@@ -113,7 +113,8 @@ describe('Protected Environment Edit', () => {
});
it('renders a select for the required approval count', () => {
const requiredApprovalCount = 3;
const requiredApprovalCount = 0;
createComponent({
requiredApprovalCount,
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment