test/components/bst-bookmark.directive.test.js in bastion-3.4.4 vs test/components/bst-bookmark.directive.test.js in bastion-4.0.0

- old
+ new

@@ -4,11 +4,11 @@ compileDirective, element, elementScope, BstBookmark, bookmarks, - $modal; + $uibModal; compileDirective = function () { compile(element)(scope); scope.$digest(); }; @@ -22,11 +22,11 @@ }; return this; }; - $modal = { + $uibModal = { $get: function() { return this; } }; @@ -57,10 +57,10 @@ success(); } } }; - $provide.provider('$modal', $modal); + $provide.provider('$uibModal', $uibModal); $provide.provider('translate', translate); $provide.provider('BstBookmark', BstBookmark); })); beforeEach(inject(function(_$compile_, _$rootScope_) {