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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user