Skip to content
Snippets Groups Projects
Commit 7324e226 authored by Giuseppe Digilio's avatar Giuseppe Digilio
Browse files

Fixed test

parent 330a7065
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment