Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fix groupId for nonrtric-controlpanel-gateway"
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
services
/
ui
/
confirm-dialog.service.spec.ts
diff --git
a/webapp-frontend/src/app/services/ui/confirm-dialog.service.spec.ts
b/webapp-frontend/src/app/services/ui/confirm-dialog.service.spec.ts
index
c8992eb
..
2cc241e
100644
(file)
--- a/
webapp-frontend/src/app/services/ui/confirm-dialog.service.spec.ts
+++ b/
webapp-frontend/src/app/services/ui/confirm-dialog.service.spec.ts
@@
-21,9
+21,14
@@
import { TestBed } from '@angular/core/testing';
import { ConfirmDialogService } from './confirm-dialog.service';
import { TestBed } from '@angular/core/testing';
import { ConfirmDialogService } from './confirm-dialog.service';
+import { MatDialogModule } from '@angular/material';
+import {UiService} from './ui.service';
describe('ConfirmDialogService', () => {
describe('ConfirmDialogService', () => {
- beforeEach(() => TestBed.configureTestingModule({}));
+ beforeEach(() => TestBed.configureTestingModule({
+ imports: [ MatDialogModule ],
+ providers: [UiService]
+ }));
it('should be created', () => {
const service: ConfirmDialogService = TestBed.get(ConfirmDialogService);
it('should be created', () => {
const service: ConfirmDialogService = TestBed.get(ConfirmDialogService);