Skip to content

Commit

Permalink
Merge branch 'master' into VIH-9919-booking-failure-reason
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-scott authored Nov 17, 2023
2 parents ced2b51 + 8056020 commit 1630f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('ManageTeamComponent', () => {
expect(users.length).toEqual(20);
expect(message).toContain('please refine your search to see more results.');
expect(displayMessage).toBeTruthy();
expect(displayAddButton).toBeFalsy();
expect(displayAddButton).toBeTruthy();
done();
}
);
Expand Down Expand Up @@ -111,7 +111,7 @@ describe('ManageTeamComponent', () => {
([users, displayAddButton, isAnErrorMessage, displayMessage]: [JusticeUserResponse[], boolean, boolean, boolean]) => {
expect(users.length).toEqual(10);
expect(displayMessage).toBeFalsy();
expect(displayAddButton).toBeFalsy();
expect(displayAddButton).toBeTruthy();
expect(isAnErrorMessage).toBeFalsy();
done();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class ManageTeamComponent implements OnInit, OnDestroy {
this.users$ = this.justiceUserService.filteredUsers$.pipe(
takeUntil(this.destroyed$),
tap(users => {
this.displayAddButton$.next(false);
this.displayAddButton$.next(true);
this.isAnErrorMessage$.next(false);
this.displayMessage$.next(false);
this.message$.next(null);
Expand Down

0 comments on commit 1630f06

Please sign in to comment.