Skip to content

Commit d708f7b

Browse files
jhonyeduardojhosefmarks
authored andcommitted
test(http-interceptor-detail): utiliza literais de tradução em ingles
Ao rodar CI no travis este teste unitario estava quebrando porque no ambiente a linguagem era portugues porém o testado é ingles. Definido antes de realizar o teste a linguagem ingles, para não se basear no browser.
1 parent 5acf6dd commit d708f7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

projects/ui/src/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import * as UtilsFunctions from '../../../utils/util';
66
import { PoAccordionModule } from '../../../components/po-accordion/po-accordion.module';
77
import { PoHttpInterceptorDetail } from './po-http-interceptor-detail.interface';
88
import { PoHttpInterceptorDetailComponent } from './po-http-interceptor-detail.component';
9+
import { poHttpInterceptorDetailLiteralsDefault } from './po-http-interceptor-detail-literals.interface';
910
import { PoModalModule } from '../../../components/po-modal/po-modal.module';
1011
import { PoTagModule } from '../../../components/po-tag/po-tag.module';
1112

@@ -27,6 +28,8 @@ describe('PoHttpInterceptorDetailComponent:', () => {
2728
component = fixture.componentInstance;
2829
fixture.detectChanges();
2930
nativeElement = fixture.debugElement.nativeElement;
31+
32+
component.literals = poHttpInterceptorDetailLiteralsDefault['en'];
3033
});
3134

3235
it('should create', () => {

0 commit comments

Comments
 (0)