Conversation
PR Review: TAM-2037 — "test fixed"Files changed: 2 test files, 3 lines modified SummaryThis PR fixes three test assertions/setups that were using AnalysisWhy the old code was wrong:
Change-by-change review1. - Assert.Equal(expectedSensorValue.ReceivingTime, actual.LastUpdate);
+ Assert.Equal(expectedSensorValue.Time, actual.LastUpdate);Correct. 2. - { ReceivingTime = new DateTime(DateTime.UtcNow.Ticks - ticks) };
+ { Time = new DateTime(DateTime.UtcNow.Ticks - ticks) };Correct. 3. - ReceivingTime = new DateTime(DateTime.UtcNow.Ticks - TestTicks),
+ Time = new DateTime(DateTime.UtcNow.Ticks - TestTicks),Same rationale as #2. Correct fix. Issues foundNone. No bugs, security concerns, or logic errors introduced. The changes are minimal and targeted. Minor note (non-blocking)The PR title |
No description provided.