Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
popovicsandras committed Sep 9, 2020
1 parent 9a3e0f5 commit 12b1ee7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/extensions/src/lib/services/extension.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('ExtensionService', () => {
loader = new ExtensionLoaderService(null);
componentRegister = new ComponentRegisterService();
ruleService = new RuleService(loader);
service = new ExtensionService(loader, componentRegister, ruleService);
service = new ExtensionService(loader, componentRegister, ruleService, []);
});

it('should load and setup a config', async () => {
Expand Down
4 changes: 2 additions & 2 deletions lib/extensions/src/lib/services/extension.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ export class ExtensionService {
authGuards: { [key: string]: Type<{}> } = {};

constructor(
@Inject(EXTENSION_JSONS) protected extensionJsons: ExtensionRef[],
protected loader: ExtensionLoaderService,
protected componentRegister: ComponentRegisterService,
protected ruleService: RuleService
protected ruleService: RuleService,
@Inject(EXTENSION_JSONS) protected extensionJsons: ExtensionRef[]
) {
}

Expand Down

0 comments on commit 12b1ee7

Please sign in to comment.