Skip to content

Commit

Permalink
rename all integration tests to *IT
Browse files Browse the repository at this point in the history
changed mtime to have a more sane value

Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky authored and AlvaroBrey committed Dec 10, 2021
1 parent e6d3d26 commit ff6ab37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void testRecentlyModifiedSearch() throws IOException {
.execute(client).isSuccess());

String oldPath = createFile("pdf");
assertTrue(new UploadFileRemoteOperation(oldPath, "/old.pdf", "application/pdf", "1")
assertTrue(new UploadFileRemoteOperation(oldPath, "/old.pdf", "application/pdf", RANDOM_MTIME)
.execute(client).isSuccess());

SearchRemoteOperation sut = new SearchRemoteOperation("",
Expand Down Expand Up @@ -273,7 +273,7 @@ public void testPhotoSearchTimestamps() throws IOException {
assertEquals(10, result.getResultData().size());

// limit to timestamp 5
sut.setTimestamp(5);
sut.setTimestamp(1464818405);

result = sut.execute(client);
assertTrue(result.isSuccess());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ class Status(val status: StatusType, val message: String?, val icon: String, val
parcel.readString(),
parcel.readString().orEmpty(),
parcel.readLong()
) {
}
)

override fun writeToParcel(parcel: Parcel, flags: Int) {
parcel.writeString(status.name)
Expand Down

0 comments on commit ff6ab37

Please sign in to comment.