Skip to content
Snippets Groups Projects
Commit 12c81465 authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Fix => DONE

parent 46ecd557
No related branches found
No related tags found
2 merge requests!100Develop,!95Fix => DONE
This commit is part of merge request !95. Comments created here will be created in the context of that merge request.
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Component, ViewChild } from '@angular/core';
import { ToastrModule } from 'ngx-toastr';
import { ToastrService } from 'ngx-toastr';
import { OutputByCategoryComponent } from './output-by-category.component';
import { Attribute } from '../../../metamodel/model';
import { ATTRIBUTE_LIST } from '../../../../settings/test-data';
......@@ -38,9 +36,7 @@ describe('[Search][Output] Component: OutputByCategoryComponent', () => {
declarations: [
OutputByCategoryComponent,
TestHostComponent
],
imports: [ToastrModule.forRoot()],
providers: [ToastrService]
]
});
testHostFixture = TestBed.createComponent(TestHostComponent);
testHostComponent = testHostFixture.componentInstance;
......
......@@ -2,6 +2,8 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Component, Input, Output, EventEmitter, ViewChild } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ToastrModule } from 'ngx-toastr';
import { ToastrService } from 'ngx-toastr';
import { AccordionModule } from 'ngx-bootstrap/accordion';
import { OutputTabsComponent } from './output-tabs.component';
import { Attribute, Family, Category } from '../../../metamodel/model';
......@@ -47,7 +49,8 @@ describe('[Search][Output] Component: OutputTabsComponent', () => {
TestHostComponent,
OutputByFamilyStubComponent
],
imports: [AccordionModule.forRoot(), BrowserAnimationsModule]
imports: [AccordionModule.forRoot(), BrowserAnimationsModule, ToastrModule.forRoot()],
providers: [ToastrService]
});
testHostFixture = TestBed.createComponent(TestHostComponent);
testHostComponent = testHostFixture.componentInstance;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment