diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index b41524a74..a4099a31b 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -109,10 +109,12 @@ describe("Unit: Controllers", function() { ); scope.model = { newaddress: null, - newlabel: null + newlabel: null, }; $compile(element)(scope); - $controller('SendController', {$scope: scope}); + $controller('SendController', {$scope: scope, + $modal: {}, + }); scope.$digest(); form = scope.form; }));