Skip to content

Commit 7f0444e

Browse files
committed
[NAE-2125] Remove URI service usage from admin and menu items
- extended `MockUserService` logout functionality to notify user change via `_userChange$`.
1 parent 3a573ff commit 7f0444e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/netgrif-components-core/src/lib/utility/tests/mocks/mock-user.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export class MockUserService {
5252

5353
logout() {
5454
this._user = this.emptyUser()
55+
this._userChange$.next(this._user);
5556
return of({});
5657
}
5758

0 commit comments

Comments
 (0)