fix for server service test

This commit is contained in:
Piotr Pekala 2019-03-26 03:56:36 -07:00
parent 1b8034e366
commit 992712591a
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import { MockedServerService } from '../../services/server.service.spec';
import { Server } from '../../models/server';
fdescribe('LocalServerComponent', () => {
describe('LocalServerComponent', () => {
let component: LocalServerComponent;
let fixture: ComponentFixture<LocalServerComponent>;
let router: any;

View File

@ -151,7 +151,7 @@ describe('ServerService', () => {
expectedServer.name = 'local';
expectedServer.host = 'hostname';
expectedServer.port = 9999;
expectedServer.location = 'local';
expectedServer.location = 'remote';
expectedServer.is_local = true;
service.getLocalServer('hostname', 9999).then(() => {