Skip to content

Commit

Permalink
Fixing test (#25911)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelrojas authored Aug 28, 2023
1 parent acfd1be commit 7ad6f1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ describe('DotEditPageStateControllerSeoComponent', () => {
expect(dotPageStateService.setSeoMedia).toHaveBeenCalledWith('Google');
});

it('should call changeSeoMedia event', async () => {
it('should call selected event', async () => {
spyOn(dotPageStateService, 'setDevice');
const dotSelector = de.query(By.css('[data-testId="dot-device-selector"]'));
const event = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ export class DotPageStateServiceMock {
setPersona(_persona: DotPersona): void {
/* */
}

setSeoMedia(_seoMedia: string): void {
/* */
}
}

0 comments on commit 7ad6f1d

Please sign in to comment.