remove local tz test
This was breaking some of the unit tests when they happened to complete in a particular order
This commit is contained in:
parent
e218604708
commit
3bddf99ba1
@ -213,16 +213,6 @@ mod test {
|
||||
today.days_elapsed
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_vendor = "apple")]
|
||||
/// On Linux, TZ needs to be set prior to the process being started to take effect,
|
||||
/// so we limit this test to Macs.
|
||||
fn local_minutes_west() {
|
||||
// -480 throughout the year
|
||||
std::env::set_var("TZ", "Australia/Perth");
|
||||
assert_eq!(local_minutes_west_for_stamp(Utc::now().timestamp()), -480);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn days_elapsed() {
|
||||
let local_offset = local_minutes_west_for_stamp(Utc::now().timestamp());
|
||||
|
Loading…
Reference in New Issue
Block a user