@@ -43,7 +43,6 @@ public async Task TimespanTextChanged_ValidInput_SetsPropertyCorrectly()
4343 . Setup ( p => p . GetOptionsAsync < ApplicationOptions > ( ) )
4444 . ReturnsAsync ( options ) ;
4545 var parser = new ApplicationOptionsTimeSpanParser ( mockOptionsProvider . Object ) ;
46- await Task . Delay ( 50 ) ;
4746 var track = new Track ( ) ;
4847 // Act
4948 await parser . TimespanTextChanged ( track , x => x . Begin , "92:12" ) ;
@@ -66,7 +65,6 @@ public async Task TimespanTextChanged_InvalidInput_SetsNull()
6665 . Setup ( p => p . GetOptionsAsync < ApplicationOptions > ( ) )
6766 . ReturnsAsync ( options ) ;
6867 var parser = new ApplicationOptionsTimeSpanParser ( mockOptionsProvider . Object ) ;
69- await Task . Delay ( 50 ) ;
7068 var track = new Track ( ) ;
7169 // Act
7270 await parser . TimespanTextChanged ( track , x => x . End , "not a time" ) ;
@@ -75,7 +73,7 @@ public async Task TimespanTextChanged_InvalidInput_SetsNull()
7573 }
7674
7775 [ TestMethod ( ) ]
78- public async Task GetTimespanFormatted_ValidFormat_ReturnsCorrectString ( )
76+ public void GetTimespanFormatted_ValidFormat_ReturnsCorrectString ( )
7977 {
8078 // Arrange
8179 var options = new ApplicationOptions ( )
@@ -87,15 +85,14 @@ public async Task GetTimespanFormatted_ValidFormat_ReturnsCorrectString()
8785 . Setup ( p => p . GetOptionsAsync < ApplicationOptions > ( ) )
8886 . ReturnsAsync ( options ) ;
8987 var parser = new ApplicationOptionsTimeSpanParser ( mockOptionsProvider . Object ) ;
90- await Task . Delay ( 50 ) ;
9188 // Act
9289 var result = parser . GetTimespanFormatted ( new TimeSpan ( 0 , 1 , 30 , 27 , 200 , 103 ) ) ;
9390 // Assert
9491 Assert . AreEqual ( "01:30:27" , result ) ;
9592 }
9693
9794 [ TestMethod ( ) ]
98- public async Task GetTimespanFormatted_InvalidFormat_FallbackToDefault ( )
95+ public void GetTimespanFormatted_InvalidFormat_FallbackToDefault ( )
9996 {
10097 // Arrange
10198 var options = new ApplicationOptions ( )
@@ -107,7 +104,6 @@ public async Task GetTimespanFormatted_InvalidFormat_FallbackToDefault()
107104 . Setup ( p => p . GetOptionsAsync < ApplicationOptions > ( ) )
108105 . ReturnsAsync ( options ) ;
109106 var parser = new ApplicationOptionsTimeSpanParser ( mockOptionsProvider . Object ) ;
110- await Task . Delay ( 50 ) ;
111107 // Act
112108 var result = parser . GetTimespanFormatted ( new TimeSpan ( 0 , 1 , 30 , 27 , 200 , 103 ) ) ;
113109 // Assert
0 commit comments