Skip to content

Commit 7097cd8

Browse files
Removed duplicate test member data (#2098)
1 parent 1e78f10 commit 7097cd8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/CommunityToolkit.Maui.UnitTests/Converters/TimeSpanToSecondsConverterTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ public class TimeSpanToSecondsConverterTests : BaseConverterTest<TimeSpanToSecon
1010
[TimeSpan.MaxValue, 922337203685.4775],
1111
[TimeSpan.FromSeconds(100), 100],
1212
[new TimeSpan(), 0],
13-
[TimeSpan.Zero, 0],
14-
[default(TimeSpan), 0],
1513
[TimeSpan.MinValue, -922337203685.4775],
1614
];
1715

src/CommunityToolkit.Maui.UnitTests/Extensions/BackgroundColorToTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public async Task BackgroundColorTo_VerifyColorChanged()
2222
Assert.Equal(updatedBackgroundColor, element.BackgroundColor);
2323
}
2424

25-
[Fact(Timeout = (int)TestDuration.Short)]
25+
[Fact(Timeout = (int)TestDuration.Medium)]
2626
public async Task BackgroundColorTo_CancellationTokenExpired()
2727
{
2828
var cts = new CancellationTokenSource(TimeSpan.FromMilliseconds(1));

0 commit comments

Comments
 (0)