diff --git a/__tests__/.eslintrc b/__tests__/.eslintrc index a155c21b32..d16552bda4 100644 --- a/__tests__/.eslintrc +++ b/__tests__/.eslintrc @@ -1,5 +1,5 @@ { "rules": { - "react/jsx-pascal-case": "0" + "react/jsx-pascal-case": 0 } } diff --git a/__tests__/components/Lookup.test.jsx b/__tests__/components/Lookup.test.jsx index 2e990ec1b9..dd75e29e3c 100644 --- a/__tests__/components/Lookup.test.jsx +++ b/__tests__/components/Lookup.test.jsx @@ -49,6 +49,7 @@ describe('', () => { const wrapper = mount( ', () => { const wrapper = mount( ', () => { const wrapper = mount( ', () => { ).find('OrganizationForm'); const form = wrapper.find('Formik'); - wrapper.find('input#edit-org-form-name').simulate('change', { + wrapper.find('input#org-name').simulate('change', { target: { value: 'new foo', name: 'name' } }); expect(form.state('values').name).toEqual('new foo'); - wrapper.find('input#edit-org-form-description').simulate('change', { + wrapper.find('input#org-description').simulate('change', { target: { value: 'new bar', name: 'description' } }); expect(form.state('values').description).toEqual('new bar');