File tree 1 file changed +4
-3
lines changed
Airship/AirshipAutomation/Tests
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -795,16 +795,17 @@ final class ExectutionWindowTest: XCTestCase {
795
795
796
796
func testMonthlyNextYear( ) throws {
797
797
// Feb 15
798
- var date = calendar. date ( bySetting: . day, value: 15 , of: referenceDate) !
799
- date = calendar. date ( bySetting: . month, value: 2 , of: date) !
798
+ var date = calendar. date ( bySetting: . month, value: 2 , of: referenceDate) !
799
+ date = calendar. date ( bySetting: . day, value: 15 , of: date) !
800
+
800
801
801
802
let window = try ExecutionWindow (
802
803
include: [
803
804
. monthly( months: [ 1 ] , daysOfMonth: [ 14 ] )
804
805
]
805
806
)
806
807
807
- XCTAssertEqual ( windowAvailibility ( window, date: date) , . retry( 348 . days) )
808
+ XCTAssertEqual ( windowAvailibility ( window, date: date) , . retry( 334 . days) )
808
809
}
809
810
810
811
func testIncludeMonthlyWithTimeZone( ) throws {
You can’t perform that action at this time.
0 commit comments