Browse Source

fix: fixed failing frontend test

Torkel Ödegaard 8 năm trước cách đây
mục cha
commit
e43d09e15b
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      public/app/features/dashboard/specs/history_ctrl_specs.ts

+ 0 - 5
public/app/features/dashboard/specs/history_ctrl_specs.ts

@@ -268,11 +268,6 @@ describe('HistoryListCtrl', function() {
         expect(ctx.ctrl.loading).to.be(false);
       });
 
-      it('should broadcast an event indicating the failure', function() {
-        expect($rootScope.appEvent.calledOnce).to.be(true);
-        expect($rootScope.appEvent.calledWith('alert-error')).to.be(true);
-      });
-
       it('should have an empty delta/changeset', function() {
         expect(ctx.ctrl.delta).to.eql({ basic: '', html: '' });
       });