-
Notifications
You must be signed in to change notification settings - Fork 15
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
Showing
4 changed files
with
9 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ describe('OrgUserService', () => { | |
spenderPlatformV1ApiService.get.and.returnValue(of(employeesRes)); | ||
const params = { | ||
limit: 5, | ||
order: 'full_name.asc,id.asc', | ||
order: 'full_name.asc', | ||
id: 'neq.ouX8dwsbLCLv', | ||
roles: 'like.%ADMIN%', | ||
is_enabled: 'eq.true', | ||
|
@@ -124,7 +124,7 @@ describe('OrgUserService', () => { | |
|
||
it('should be able to get employees by search with OR param', (done) => { | ||
const params = { | ||
order: 'full_name.asc,email.asc,id.asc', | ||
order: 'full_name.asc,email.asc', | ||
email: 'in.([email protected])', | ||
or: '(is_enabled.eq.true)', | ||
and: '(or(is_enabled.eq.true),or(is_enabled.eq.true))', | ||
|
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
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 |
---|---|---|
|
@@ -185,7 +185,7 @@ describe('FyUserlistModalComponent', () => { | |
|
||
it('should get default users list', (done) => { | ||
const params = { | ||
order: 'full_name.asc,email.asc,id.asc', | ||
order: 'full_name.asc,email.asc', | ||
email: | ||
'in.([email protected],[email protected],[email protected],[email protected],[email protected],[email protected])', | ||
}; | ||
|
@@ -201,7 +201,7 @@ describe('FyUserlistModalComponent', () => { | |
|
||
it('should get default users list with empty params', () => { | ||
component.currentSelections = []; | ||
const params = { limit: 20, order: 'full_name.asc,email.asc,id.asc' }; | ||
const params = { limit: 20, order: 'full_name.asc,email.asc' }; | ||
|
||
component.getDefaultUsersList(); | ||
fixture.detectChanges(); | ||
|
@@ -213,7 +213,7 @@ describe('FyUserlistModalComponent', () => { | |
it('getSearchedUsersList(): should get the searched user list', fakeAsync(() => { | ||
const params = { | ||
limit: 20, | ||
order: 'full_name.asc,email.asc,id.asc', | ||
order: 'full_name.asc,email.asc', | ||
or: '(email.ilike.*[email protected]*,full_name.ilike.*[email protected]*)', | ||
}; | ||
const employeesData = cloneDeep(employeesParamsRes.data); | ||
|