add disclaimer controller test
This commit is contained in:
parent
229802f0ca
commit
7781b93a88
5 changed files with 122 additions and 22 deletions
|
|
@ -220,6 +220,9 @@ mocks.init = function(fixtures, controllerName, opts, done) {
|
|||
noWallet: true
|
||||
}, function(err) {
|
||||
should.not.exist(err, err);
|
||||
if (opts.noDisclaimer){
|
||||
return done();
|
||||
};
|
||||
_profileService_.setDisclaimerAccepted(function() {
|
||||
if (!opts.initController)
|
||||
startController();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue