aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Controllers/UserControllerTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline.Tests/Controllers/UserControllerTest.cs')
-rw-r--r--Timeline.Tests/Controllers/UserControllerTest.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline.Tests/Controllers/UserControllerTest.cs b/Timeline.Tests/Controllers/UserControllerTest.cs
index ddbc3fbc..471ed851 100644
--- a/Timeline.Tests/Controllers/UserControllerTest.cs
+++ b/Timeline.Tests/Controllers/UserControllerTest.cs
@@ -69,8 +69,8 @@ namespace Timeline.Tests.Controllers
}
[Theory]
- [InlineData(PutResult.Created, true)]
- [InlineData(PutResult.Modified, false)]
+ [InlineData(PutResult.Create, true)]
+ [InlineData(PutResult.Modify, false)]
public async Task Put_Success(PutResult result, bool create)
{
const string username = "aaa";
@@ -176,7 +176,7 @@ namespace Timeline.Tests.Controllers
[Theory]
[InlineData(typeof(UserNotExistException), Op.ChangeUsername.NotExist)]
- [InlineData(typeof(UserAlreadyExistException), Op.ChangeUsername.AlreadyExist)]
+ [InlineData(typeof(UsernameConfictException), Op.ChangeUsername.AlreadyExist)]
public async Task Op_ChangeUsername_Failure(Type exceptionType, int code)
{
const string oldUsername = "aaa";