Merge branch 'post_form_jest_fix' into 'deactivate_via_post'

Fix jest tests for method='post' MR

See merge request soapbox-pub/soapbox-fe!195
This commit is contained in:
Curtis 2020-08-31 02:47:16 +00:00
commit f7512df3b3
3 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,8 @@
exports[`<LoginForm /> renders correctly 1`] = ` exports[`<LoginForm /> renders correctly 1`] = `
<form <form
className="simple_form new_user" method='post' className="simple_form new_user"
method="post"
> >
<fieldset> <fieldset>
<div <div

View File

@ -2,7 +2,8 @@
exports[`<LoginPage /> renders correctly on load 1`] = ` exports[`<LoginPage /> renders correctly on load 1`] = `
<form <form
className="simple_form new_user" method="post" className="simple_form new_user"
method="post"
onSubmit={[Function]} onSubmit={[Function]}
> >
<fieldset <fieldset

View File

@ -77,7 +77,8 @@ exports[`<SelectDropdown /> renders correctly 1`] = `
exports[`<SimpleForm /> renders correctly 1`] = ` exports[`<SimpleForm /> renders correctly 1`] = `
<form <form
acceptCharset="UTF-8" acceptCharset="UTF-8"
className="simple_form" method="post" className="simple_form"
method="post"
onSubmit={[Function]} onSubmit={[Function]}
/> />
`; `;