Try to fix tests

This commit is contained in:
Luke Barnard 2017-04-28 13:38:35 +01:00
parent d12b1903f2
commit 5a5768a4ec

View file

@ -771,7 +771,7 @@ module.exports = React.createClass({
var mxIdPromise = q(); var mxIdPromise = q();
// If the user is a ROU, allow them to transition to a PWLU // If the user is a ROU, allow them to transition to a PWLU
if (cli.isGuest()) { if (cli && cli.isGuest()) {
const SetMxIdDialog = sdk.getComponent('views.dialogs.SetMxIdDialog'); const SetMxIdDialog = sdk.getComponent('views.dialogs.SetMxIdDialog');
const defered = q.defer(); const defered = q.defer();
mxIdPromise = defered.promise; mxIdPromise = defered.promise;