Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d42e419

Browse files
committedDec 6, 2021
Move TimeService::getLocalTime() into CloudSchedule test file to make more clear how the time is configured
1 parent 028c299 commit d42e419

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed
 

‎extras/test/src/test_CloudSchedule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ TimeService::TimeService() {}
2222
* TimeService Fake Methods
2323
**************************************************************************************/
2424

25-
unsigned long TimeService::getTime() {return time_now;}
25+
unsigned long TimeService::getLocalTime() {return time_now;}
2626

2727
/**************************************************************************************
2828
TEST CODE

‎extras/test/src/util/PropertyTestUtil.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ unsigned long getTime()
1919
return 0;
2020
}
2121

22-
unsigned long TimeService::getLocalTime()
23-
{
24-
return getTime();
25-
}
26-
2722
TimeService* ArduinoIoTCloudTimeService() {
2823
static TimeService _timeService_instance;
2924
return &_timeService_instance;

0 commit comments

Comments
 (0)
Please sign in to comment.