chore(test): fix travis

This commit is contained in:
Filipe Silva 2016-09-14 15:37:28 +01:00 committed by Naomi Black
parent 9c55afdfde
commit f017102cbc
2 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,6 @@ import * as s0301 from '../03-01/app/app.module';
import * as s0302 from '../03-02/app/app.module'; import * as s0302 from '../03-02/app/app.module';
import * as s0303 from '../03-03/app/app.module'; import * as s0303 from '../03-03/app/app.module';
import * as s0304 from '../03-04/app/app.module'; import * as s0304 from '../03-04/app/app.module';
import * as s0305 from '../03-05/app/app.module';
import * as s0306 from '../03-06/app/app.module'; import * as s0306 from '../03-06/app/app.module';
import * as s0410 from '../04-10/app/app.module'; import * as s0410 from '../04-10/app/app.module';
import * as s0414 from '../04-14/app/app.module'; import * as s0414 from '../04-14/app/app.module';
@ -56,7 +55,6 @@ const moduleMetadata = {
s0302.AppModule, s0302.AppModule,
s0303.AppModule, s0303.AppModule,
s0304.AppModule, s0304.AppModule,
s0305.AppModule,
s0306.AppModule, s0306.AppModule,
s0410.AppModule, s0410.AppModule,
s0414.AppModule, s0414.AppModule,

View File

@ -12,7 +12,7 @@ export class HeroSearchService {
search(term: string): Observable<Hero[]> { search(term: string): Observable<Hero[]> {
return this.http return this.http
.get('app/heroes/?name=${term}') .get(`app/heroes/?name=${term}`)
.map((r: Response) => r.json().data as Hero[]); .map((r: Response) => r.json().data as Hero[]);
} }
} }