mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
Fixed test
This commit is contained in:
@@ -52,13 +52,6 @@ describe('MyDSpaceItemStatusComponent', () => {
|
||||
expect(badge).toBeDefined();
|
||||
});
|
||||
|
||||
it('should init badge content and class', () => {
|
||||
component.status = MyDspaceItemStatusType.REJECTED;
|
||||
fixture.detectChanges();
|
||||
expect(component.badgeContent).toBe(MyDspaceItemStatusType.REJECTED);
|
||||
expect(component.badgeClass).toBe('text-light badge badge-danger');
|
||||
});
|
||||
|
||||
it('should init badge content and class', () => {
|
||||
component.status = MyDspaceItemStatusType.VALIDATION;
|
||||
fixture.detectChanges();
|
||||
|
Reference in New Issue
Block a user