[LiskHQ/lisk] Unit tests for Multisignatures module — Closes #1723 (#2326)

yatki commented on this pull request. > + const member = { + address: 'address', + publicKey: 'publicKey', + secondPublicKey: 'secondPublicKey', + }; + + stubs.modules.accounts.getAccounts = sinonSandbox + .stub() + .callsFake((param1, param2, cb) => cb(null, [member])); + + self.getGroup(validAccount.address, (err, scopeGroup) => { + expect(err).to.not.exist; + expect(get('modules').accounts.getAccounts).to.be.calledWith({ + address: Читать далее