settings: fix tests 6
This commit is contained in:
parent
85af562350
commit
f2f5179b0a
2 changed files with 0 additions and 6 deletions
|
|
@ -118,7 +118,6 @@ angular.module('copayApp.controllers').controller('JoinController',
|
|||
}
|
||||
|
||||
$scope.loading = true;
|
||||
walletFactory.network.on('badSecret', function() {});
|
||||
|
||||
Passphrase.getBase64Async($scope.joinPassword, function(passphrase) {
|
||||
walletFactory.joinCreateSession($scope.connectionId, $scope.nickname, passphrase, $scope.private, function(err, w) {
|
||||
|
|
|
|||
|
|
@ -357,11 +357,6 @@ describe("Unit: Controllers", function() {
|
|||
scope.$apply();
|
||||
});
|
||||
|
||||
it('should return networkName', function() {
|
||||
$httpBackend.flush(); // need flush
|
||||
var networkName = scope.networkName;
|
||||
expect(networkName).equal('testnet');
|
||||
});
|
||||
});
|
||||
|
||||
describe("Unit: Sidebar Controller", function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue