-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shaed Parkar
committed
Nov 7, 2023
1 parent
d396750
commit 5ce9d4b
Showing
2 changed files
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -622,7 +622,6 @@ describe('Video hearing service', () => { | |
describe('addJudiciaryJudge', () => { | ||
it('should add a new judge when none exists', () => { | ||
// Arrange | ||
const service = new VideoHearingsService(clientApiSpy); | ||
const judicialMember = new JudicialMemberDto('Test', 'User', 'Test User', '[email protected]', '1234567890', '1234'); | ||
spyOn(service['modelHearing'].judiciaryParticipants, 'findIndex').and.returnValue(-1); | ||
|
||
|
@@ -636,7 +635,6 @@ describe('Video hearing service', () => { | |
|
||
it('should replace an existing judge', () => { | ||
// Arrange | ||
const service = new VideoHearingsService(clientApiSpy); | ||
const newJudge = new JudicialMemberDto('Test', 'User', 'Test User', '[email protected]', '1234567890', '1234'); | ||
const existingJudge = new JudicialMemberDto('Test', 'User', 'Test User', '[email protected]', '1234567890', '5678'); | ||
service['modelHearing'].judiciaryParticipants.push(existingJudge); | ||
|