From 6d90d6b49c34f27704a0545fc457003d97332b5c Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Mon, 29 Jan 2024 14:28:56 +0000 Subject: [PATCH] Fixed unit test as never is not a possible option anymore --- .../lib/content-node-share/content-node-share.dialog.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/content-services/src/lib/content-node-share/content-node-share.dialog.spec.ts b/lib/content-services/src/lib/content-node-share/content-node-share.dialog.spec.ts index 6c1becd8f3..feb9a92098 100644 --- a/lib/content-services/src/lib/content-node-share/content-node-share.dialog.spec.ts +++ b/lib/content-services/src/lib/content-node-share/content-node-share.dialog.spec.ts @@ -301,7 +301,7 @@ describe('ShareDialogComponent', () => { fixture.detectChanges(); expect(fixture.debugElement.query(By.css('[data-automation-id="adf-content-share-expiration-field"]')) - .componentInstance.floatLabel).toBe('never'); + .componentInstance.floatLabel).toBe('auto'); }); it('should not display floating label for public link field', () => { @@ -312,7 +312,7 @@ describe('ShareDialogComponent', () => { fixture.detectChanges(); expect(fixture.debugElement.query(By.css('[data-automation-id="adf-content-share-public-link-field"]')) - .componentInstance.floatLabel).toBe('never'); + .componentInstance.floatLabel).toBe('auto'); }); describe('datetimepicker type', () => {