2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-09-03 07:45:15 +00:00

Zone BackendID in portal (#607)

* list backend ids route and option to update a zones backendid in portal
This commit is contained in:
Nima Eskandary
2019-05-06 11:51:27 -04:00
committed by GitHub
parent 12c6d4e67c
commit f0a25fe943
19 changed files with 210 additions and 2 deletions

View File

@@ -40,6 +40,11 @@ describe('Controller: ManageZonesController', function () {
}
});
};
zonesService.getBackendIds = function() {
return $q.when({
data: ['backend-1', 'backend-2']
});
};
this.scope.addAclRuleForm = {
$setPristine: function(){}
};
@@ -64,6 +69,8 @@ describe('Controller: ManageZonesController', function () {
.and.stub();
var setConnectionKeys = spyOn(this.zonesService, 'setConnectionKeys')
.and.stub();
var checkBackendId = spyOn(this.zonesService, 'checkBackendId')
.and.stub();
var updateZone = spyOn(this.scope, 'updateZone')
.and.stub();