it('Exclude time cannot be less than 6 months and should have error.', () => {
    const wrapper = mountWithIntl(<SettingsSelfExclusion />);
    const excludeUntil = wrapper.find('#exclude_until').hostNodes();
    excludeUntil.instance().value = dateFormat(moment().add(6, 'months').subtract(1, 'days'));
    wrapper.update();