@@ -47,7 +47,7 @@ describe('useQuerySettings', () => {
4747 sortBy : [ { id : 'username' , desc : false } ] ,
4848 filters : [
4949 { id : 'role' , value : [ 'admin' , 'editor' ] } ,
50- { id : 'fullName ' , value : 'john' } ,
50+ { id : 'username ' , value : 'john' } ,
5151 ] ,
5252 } ;
5353
@@ -268,7 +268,7 @@ describe('useQuerySettings', () => {
268268 sortBy : [ { id : 'userRole' , desc : true } ] ,
269269 filters : [
270270 { id : 'role' , value : [ 'admin' , 'editor' , 'viewer' ] } ,
271- { id :
'fullName ' , value :
'[email protected] ' } , 271+ { id :
'username ' , value :
'[email protected] ' } , 272272 { id : 'otherFilter' , value : 'ignored' } , // Should be ignored
273273 { id : 'org' , value : [ 'org1' , 'org2' ] } ,
274274 { id : 'scope' , value : [ 'scope1' , 'scope2' ] } ,
@@ -327,7 +327,7 @@ describe('useQuerySettings', () => {
327327 pageIndex : 0 ,
328328 sortBy : [ ] ,
329329 filters : [
330- { id : 'fullName ' , value : ' ' } , // Whitespace only
330+ { id : 'username ' , value : ' ' } , // Whitespace only
331331 ] ,
332332 } ;
333333
@@ -376,7 +376,7 @@ describe('useQuerySettings', () => {
376376 pageSize : 10 ,
377377 pageIndex : 0 ,
378378 sortBy : [ ] ,
379- filters : [ { id : 'fullName ' , value : 'john' } ] ,
379+ filters : [ { id : 'username ' , value : 'john' } ] ,
380380 } ) ;
381381 } ) ;
382382
@@ -388,7 +388,7 @@ describe('useQuerySettings', () => {
388388 pageSize : 10 ,
389389 pageIndex : 0 ,
390390 sortBy : [ ] ,
391- filters : [ { id : 'fullName ' , value : 'jane' } ] ,
391+ filters : [ { id : 'username ' , value : 'jane' } ] ,
392392 } ) ;
393393 } ) ;
394394
0 commit comments