File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -668,26 +668,26 @@ describe('server', () => {
668668 await reconfigureServer ( {
669669 publicServerURL : ( ) => {
670670 counter ++ ;
671- return `https://server- ${ counter } .com/1 ` ;
671+ return `https://example.com/ ${ counter } ` ;
672672 } ,
673673 } ) ;
674674
675675 // First request - should call the function
676676 await new Parse . Object ( 'TestObject' ) . save ( ) ;
677677 const config1 = Config . get ( Parse . applicationId ) ;
678- expect ( config1 . publicServerURL ) . toEqual ( 'https://server-1 .com/1' ) ;
678+ expect ( config1 . publicServerURL ) . toEqual ( 'https://example .com/1' ) ;
679679 expect ( counter ) . toEqual ( 1 ) ;
680680
681681 // Second request - should call the function again
682682 await new Parse . Object ( 'TestObject' ) . save ( ) ;
683683 const config2 = Config . get ( Parse . applicationId ) ;
684- expect ( config2 . publicServerURL ) . toEqual ( 'https://server-2 .com/1 ' ) ;
684+ expect ( config2 . publicServerURL ) . toEqual ( 'https://example .com/2 ' ) ;
685685 expect ( counter ) . toEqual ( 2 ) ;
686686
687687 // Third request - should call the function again
688688 await new Parse . Object ( 'TestObject' ) . save ( ) ;
689689 const config3 = Config . get ( Parse . applicationId ) ;
690- expect ( config3 . publicServerURL ) . toEqual ( 'https://server-3 .com/1 ' ) ;
690+ expect ( config3 . publicServerURL ) . toEqual ( 'https://example .com/3 ' ) ;
691691 expect ( counter ) . toEqual ( 3 ) ;
692692 } ) ;
693693
You can’t perform that action at this time.
0 commit comments