Update tests

This commit is contained in:
Vesa Luusua 2017-09-25 22:17:04 +03:00
parent acfe1f7e9c
commit 33c0a36016
2 changed files with 11 additions and 1 deletions

View file

@ -15,10 +15,14 @@ describe('PasswordChangePage', () => {
authInProgress={false}
currentUserHasListings={false}
isAuthenticated={false}
onChange={noop}
onLogout={noop}
onManageDisableScrolling={noop}
sendVerificationEmailInProgress={false}
onResendVerificationEmail={noop}
onSubmitChangePassword={noop}
changePasswordInProgress={false}
passwordChanged={false}
/>
);
expect(tree).toMatchSnapshot();

View file

@ -72,7 +72,13 @@ exports[`PasswordChangePage matches snapshot 1`] = `
<ContentWrapper
className={null}
rootClassName={null}>
Main content
<div>
<h1>
<FormattedMessage
id="PasswordChangePage.title"
values={Object {}} />
</h1>
</div>
</ContentWrapper>
</LayoutSideNavigation>
</withRouter(PageLayout)>