Fix a broken test
Fix a broken test

turns out that you could call defer.resolve on q defers as an unbound function,
whereas that doesn't work with bluebird promises.

vector-im/vector-web,vector-im/riot-web,martindale/vector,martindale/vector,vector-im/vector-web,vector-im/riot-web,vector-im/vector-web,vector-im/vector-web,vector-im/riot-web,vector-im/riot-web,vector-im/vector-web,vector-im/riot-web,vector-im/riot-web