Skip to content

Commit 26c45e5

Browse files
committed
fix: use news FluentAssertions apis
1 parent f28f82f commit 26c45e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/IdentityServer4/test/IdentityServer.UnitTests/Services/Default/NumericUserCodeServiceTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using System.Threading.Tasks;
21
using FluentAssertions;
32
using IdentityServer4.Services;
3+
using System.Threading.Tasks;
44
using Xunit;
55

66
namespace IdentityServer.UnitTests.Services.Default
@@ -15,8 +15,8 @@ public async Task GenerateAsync_should_return_expected_code()
1515
var userCode = await sut.GenerateAsync();
1616
var userCodeInt = int.Parse(userCode);
1717

18-
userCodeInt.Should().BeGreaterOrEqualTo(100000000);
19-
userCodeInt.Should().BeLessOrEqualTo(999999999);
18+
userCodeInt.Should().BeGreaterThanOrEqualTo(100000000);
19+
userCodeInt.Should().BeLessThanOrEqualTo(999999999);
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)