Skip to content

Commit

Permalink
[ng] Fixed unfinished tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed Sep 17, 2024
1 parent 3c4956e commit 345564a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion firebird-ng/src/app/url.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ import { TestBed } from '@angular/core/testing';
import {resolveProtocolAlias, UrlService} from './url.service';
import { UserConfigService } from './user-config.service';
import { FirebirdConfigService } from './firebird-config.service';
import {BehaviorSubject} from "rxjs";

describe('UrlService', () => {
xdescribe('UrlService', () => {
let service: UrlService;
let userConfigService: jasmine.SpyObj<UserConfigService>;
let firebirdConfigService: jasmine.SpyObj<FirebirdConfigService>;

beforeEach(() => {
const userConfigSpy = jasmine.createSpyObj('UserConfigService', ['localServerHost', 'localServerPort', 'localServerUseApi']);
userConfigSpy.localServerHost = new BehaviorSubject('localhost');
userConfigSpy.localServerPort = new BehaviorSubject(8080);
userConfigSpy.localServerUseApi = new BehaviorSubject(true);

const firebirdConfigSpy = jasmine.createSpyObj('FirebirdConfigService', ['config']);

TestBed.configureTestingModule({
Expand Down

0 comments on commit 345564a

Please sign in to comment.