aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-30 18:09:01 +0800
committercrupest <crupest@outlook.com>2021-04-30 18:09:01 +0800
commit1e5f122e96ec974b77c2eaab3a9daf7d6c8970f1 (patch)
tree2a3dc8541097f2823a1b3bea46e5b07b4275b288 /BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
parent5bd826d47c30f6e6ac6eded4fefb99f26786c3bc (diff)
downloadtimeline-1e5f122e96ec974b77c2eaab3a9daf7d6c8970f1.tar.gz
timeline-1e5f122e96ec974b77c2eaab3a9daf7d6c8970f1.tar.bz2
timeline-1e5f122e96ec974b77c2eaab3a9daf7d6c8970f1.zip
refactor: ...
Diffstat (limited to 'BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs')
-rw-r--r--BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs b/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
index 7022b311..9e845641 100644
--- a/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
+++ b/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
@@ -41,8 +41,7 @@ namespace Timeline.Tests
[InlineData("ab c!")] // This is a chinese ! .
public void BadCharactor(string value)
{
- FailAndMessage(value).Should().ContainEquivalentOf("invalid")
- .And.ContainEquivalentOf("character");
+ FailAndMessage(value).Should().ContainEquivalentOf("only consists of");
}
[Fact]