BAEL-542 test fix

This commit is contained in:
Tomasz Lelek
2017-01-26 21:47:52 +01:00
committed by Andrew Morgan
parent c3cc42f458
commit cc70eae896
2 changed files with 10 additions and 11 deletions

View File

@@ -29,7 +29,6 @@ public class ResourceEndpoint {
public ResponseEntity<TimestampDto> getServerTimestamp() {
return ResponseEntity.ok()
.cacheControl(CacheControl.noStore())
.cacheControl(CacheControl.noCache())
.body(new TimestampDto(LocalDateTime.now().toInstant(ZoneOffset.UTC).toEpochMilli()));
}