mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Fixed test
This commit is contained in:
@@ -52,13 +52,6 @@ describe('MyDSpaceItemStatusComponent', () => {
|
|||||||
expect(badge).toBeDefined();
|
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', () => {
|
it('should init badge content and class', () => {
|
||||||
component.status = MyDspaceItemStatusType.VALIDATION;
|
component.status = MyDspaceItemStatusType.VALIDATION;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
|
Reference in New Issue
Block a user