From 7cde471fb865a98392ccaeaa2364cb3e3cd4d216 Mon Sep 17 00:00:00 2001 From: Zulqarnain Date: Tue, 7 Feb 2023 20:48:20 +0500 Subject: [PATCH] dotCMS/core#23927 fixed github issues and typo --- .../dot-content-type-selector.component.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-content-type-selector/dot-content-type-selector.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-content-type-selector/dot-content-type-selector.component.spec.ts index b25bd91076b7..847ed381cddc 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-content-type-selector/dot-content-type-selector.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-content-type-selector/dot-content-type-selector.component.spec.ts @@ -7,11 +7,12 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { SelectItem } from 'primeng/api'; +import { Dropdown, DropdownModule } from 'primeng/dropdown'; + import { DotContentTypeService, DotMessageService } from '@dotcms/data-access'; import { MockDotMessageService } from '@dotcms/utils-testing'; import { DotContentTypeSelectorComponent } from './dot-content-type-selector.component'; -import { Dropdown, DropdownModule } from 'primeng/dropdown'; @Injectable() class MockDotContentTypeService { @@ -66,7 +67,7 @@ describe('DotContentTypeSelectorComponent', () => { it('should add All Content Types option as first position', () => { fixture.detectChanges(); - component.options.subscribe((options) => { + component.options$.subscribe((options) => { expect(options[0]).toEqual(allContentTypesItem); }); });