Explicitly set time zone when testing date formatting
This should fix the test failure on CloudBees.
This commit is contained in:
parent
f99dd61bc4
commit
a349398f4f
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ import java.util.HashSet;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import com.fsck.k9.mail.FetchProfile;
|
||||
import com.fsck.k9.mail.FetchProfile.Item;
|
||||
|
@ -525,6 +526,7 @@ public class ImapFolderTest {
|
|||
|
||||
@Test
|
||||
public void getMessages_withDateConstraint() throws Exception {
|
||||
TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
|
||||
ImapFolder folder = createFolder("Folder");
|
||||
prepareImapFolderForOpen(OPEN_MODE_RW);
|
||||
List<ImapResponse> imapResponses = asList(
|
||||
|
|
Loading…
Reference in a new issue