Fix tests

This commit is contained in:
David Baker 2018-09-04 18:50:18 +01:00
parent dc14a42148
commit a07799879c
2 changed files with 6 additions and 1 deletions

View file

@ -61,7 +61,7 @@ module.exports = React.createClass({
minPasswordLength: PropTypes.number, minPasswordLength: PropTypes.number,
onError: PropTypes.func, onError: PropTypes.func,
onRegisterClick: PropTypes.func.isRequired, // onRegisterClick(Object) => ?Promise onRegisterClick: PropTypes.func.isRequired, // onRegisterClick(Object) => ?Promise
flows: PropTypes.arrayOf(PropTypes.object), flows: PropTypes.arrayOf(PropTypes.object).isRequired,
}, },
getDefaultProps: function() { getDefaultProps: function() {

View file

@ -37,6 +37,11 @@ function doInputEmail(inputEmail, onTeamSelected) {
<RegistrationForm <RegistrationForm
teamsConfig={TEAM_CONFIG} teamsConfig={TEAM_CONFIG}
onTeamSelected={onTeamSelected} onTeamSelected={onTeamSelected}
flows={[
{
stages: ['m.login.dummy'],
},
]}
/>, />,
); );