Fix tests for daylight savings (#1423)

* fix test failing because tomorrow is daylight savings

* add test for newly discovered daylight savings issue (and skip for now)

* whitespace change

* update title of test

* fix copypasta
This commit is contained in:
Jonathan Wren 2022-03-12 13:14:26 -08:00 committed by GitHub
parent 5273f8769d
commit e46b5a171f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -36,6 +36,7 @@ Feature: Searching in a journal
Scenario Outline: Displaying entries using -from and -to day should display correct entries
Given we use the config "<config_file>"
And now is "2022-03-10 02:32:00 PM"
When we run "jrnl yesterday: This thing happened yesterday"
Then the output should contain "Entry added"
When we run "jrnl today at 11:59pm: Adding an entry right now."