Merge pull request #352 from GNS3/test-fix

Fix for server service test
This commit is contained in:
ziajka 2019-03-26 12:54:12 +01:00 committed by GitHub
commit 9ff7a58df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(() => {