Skip to content

Commit

Permalink
PRESIDECMS-2983 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Dec 10, 2024
1 parent 44ac067 commit 2b0c9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/api/taskmanager/TaskManagerServiceTest.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ component extends="testbox.system.BaseSpec" {

var nextRun = tm.getNextRunDate( taskKey, lastRun );

expect( nextRun ).toBe( "2014-10-24T09:05" );
expect( nextRun ).toBe( "2014-10-24T09:05:00" );
} );

it( "shoud use the current date when no last run date passed", function(){
Expand Down Expand Up @@ -342,7 +342,7 @@ component extends="testbox.system.BaseSpec" {

var nextRun = tm.getNextRunDate( taskKey, lastRun );

expect( nextRun ).toBe( "2014-10-24T09:10" );
expect( nextRun ).toBe( "2014-10-24T09:10:00" );
} );

it( "should return an empty string when task is not a scheduled task", function(){
Expand Down

0 comments on commit 2b0c9bd

Please sign in to comment.