Skip to content

Commit

Permalink
#23927 fixed github issues and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zulqarnainvd committed Feb 7, 2023
1 parent 6ffe501 commit 7cde471
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
});
});
Expand Down

0 comments on commit 7cde471

Please sign in to comment.