FE: Remove legacy approval feature in MR files
This commit is contained in:
parent
554fbb2a49
commit
c1bb78a0ce
|
@ -21,7 +21,6 @@ describe('mrWidgetOptions', () => {
|
|||
const COLLABORATION_MESSAGE = 'Allows commits from members who can merge to the target branch';
|
||||
|
||||
beforeEach(() => {
|
||||
gon.features = { approvalRules: false };
|
||||
// Prevent component mounting
|
||||
delete mrWidgetOptions.el;
|
||||
|
||||
|
@ -32,7 +31,6 @@ describe('mrWidgetOptions', () => {
|
|||
});
|
||||
|
||||
afterEach(() => {
|
||||
gon.features = null;
|
||||
vm.$destroy();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue