aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/android/volley/utils/CacheTestUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/android/volley/utils/CacheTestUtils.java')
-rw-r--r--src/test/java/com/android/volley/utils/CacheTestUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/android/volley/utils/CacheTestUtils.java b/src/test/java/com/android/volley/utils/CacheTestUtils.java
index cd2b8e7..898d055 100644
--- a/src/test/java/com/android/volley/utils/CacheTestUtils.java
+++ b/src/test/java/com/android/volley/utils/CacheTestUtils.java
@@ -24,7 +24,7 @@ public class CacheTestUtils {
entry.data = new byte[random.nextInt(1024)];
}
entry.etag = String.valueOf(random.nextLong());
- entry.serverDate = random.nextLong();
+ entry.lastModified = random.nextLong();
entry.ttl = isExpired ? 0 : Long.MAX_VALUE;
entry.softTtl = needsRefresh ? 0 : Long.MAX_VALUE;
return entry;