File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ module.exports = () => {
506506
507507 it ( 'should return 400 when stableBeamEnd filter "from" is greater than "to"' , ( done ) => {
508508 request ( server )
509- . get ( '/api/lhcFills?page[offset]=0&page[limit]=15&filter[stableBeamsEnd][from]=1647867600000 &filter[stableBeamsEnd][to]=1647867600000' )
509+ . get ( '/api/lhcFills?page[offset]=0&page[limit]=15&filter[stableBeamsEnd][from]=1647867699999 &filter[stableBeamsEnd][to]=1647867600000' )
510510 . expect ( 400 )
511511 . end ( ( err , res ) => {
512512 if ( err ) {
@@ -523,7 +523,7 @@ module.exports = () => {
523523
524524 it ( 'should return 400 when stableBeamStart filter "from" is greater than "to"' , ( done ) => {
525525 request ( server )
526- . get ( '/api/lhcFills?page[offset]=0&page[limit]=15&filter[stableBeamsStart][from]=2647867600000 &filter[stableBeamsStart][to]=1647867600000' )
526+ . get ( '/api/lhcFills?page[offset]=0&page[limit]=15&filter[stableBeamsStart][from]=1647867699999 &filter[stableBeamsStart][to]=1647867600000' )
527527 . expect ( 400 )
528528 . end ( ( err , res ) => {
529529 if ( err ) {
@@ -564,7 +564,7 @@ module.exports = () => {
564564 const toValue = 2000000000000 ;
565565
566566 request ( server )
567- . get ( " /api/lhcFills?page[offset]=0&page[limit]=15&filter[stableBeamsStart][to]=2000000000000 &filter[stableBeamsEnd][to]=2000000000000" )
567+ . get ( ` /api/lhcFills?page[offset]=0&page[limit]=15&filter[stableBeamsStart][to]=${ toValue } &filter[stableBeamsEnd][to]=${ toValue } ` )
568568 . expect ( 200 )
569569 . end ( ( err , res ) => {
570570 if ( err ) {
You can’t perform that action at this time.
0 commit comments