Skip to content

Relying on Instant.now() for the lastUpdate in the mapping from FlightDataDTO can introduce non-determinism in tests; consider injecting a Clock dependency to improve testability and consistency. #3

@luismr

Description

@luismr
          Relying on Instant.now() for the lastUpdate in the mapping from FlightDataDTO can introduce non-determinism in tests; consider injecting a Clock dependency to improve testability and consistency.
            Instant.now(clock)

Originally posted by @Copilot in #2 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions