Fixed unit test as never is not a possible option anymore

This commit is contained in:
Vito Albano
2024-03-20 09:21:46 +00:00
parent 2493509bdf
commit 6d90d6b49c
@@ -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', () => {