Skip to content

Commit

Permalink
III-6123 - Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brampauwelyn committed Mar 20, 2024
1 parent d0585c7 commit c81b8eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Directive: udbSaveSearch', function () {
$rootScope.queryString = 'city:leuven';
var element = $compile('<udb-save-search udb-query-string="queryString"></udb-save-search>')($rootScope);
$rootScope.$digest();
element.find('a').triggerHandler('click');
element.find('button').triggerHandler('click');
spyOn(savedSearchesService, 'createSavedSearch').and.callFake(function() {
apiRequest = $q.defer();
return apiRequest.promise;
Expand Down

0 comments on commit c81b8eb

Please sign in to comment.