Skip to content

Commit 47581db

Browse files
committed
Updated test.
1 parent d91d12e commit 47581db

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component.spec.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -381,18 +381,6 @@ describe('EditBitstreamPageComponent', () => {
381381
it('should set isIIIF to true', () => {
382382
expect(comp.isIIIF).toBeTrue();
383383
});
384-
it('should put the \"IIIF Label\" input to be shown', () => {
385-
expect(comp.formLayout.iiifLabel.grid.host).toContain('col');
386-
});
387-
it('should put the \"IIIF Toc\" input to be shown', () => {
388-
expect(comp.formLayout.iiifToc.grid.host).toContain('col');
389-
});
390-
it('should put the \"IIIF width\" input to be shown', () => {
391-
expect(comp.formLayout.iiifWidth.grid.host).toContain('col');
392-
});
393-
it('should put the \"IIIF Height\" input to be shown', () => {
394-
expect(comp.formLayout.iiifHeight.grid.host).toContain('col');
395-
});
396384
it('should fill in the iiif label', () => {
397385
expect(rawForm.iiifLabelContainer.iiifLabel).toEqual('chapter one');
398386
});
@@ -512,7 +500,7 @@ describe('EditBitstreamPageComponent', () => {
512500
expect(comp.isIIIF).toBeFalse();
513501
});
514502
it('should put the \"IIIF Label\" input not to be shown', () => {
515-
expect(comp.formLayout.iiifLabel.grid.host).toContain('d-none');
503+
expect(rawForm.iiifLabelContainer).toBeFalsy();
516504
});
517505
});
518506
});

0 commit comments

Comments
 (0)