aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-30 16:52:55 +0800
committercrupest <crupest@outlook.com>2021-04-30 16:52:55 +0800
commit88002173a1155883d1fb46683a9a7ad1f521eb56 (patch)
tree742cce92b6e424d7bcd4a51a8da63dd10e18c4c7 /BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs
parentbf4c48980f81e566065c07f3fe534ce7551ebdcc (diff)
downloadtimeline-88002173a1155883d1fb46683a9a7ad1f521eb56.tar.gz
timeline-88002173a1155883d1fb46683a9a7ad1f521eb56.tar.bz2
timeline-88002173a1155883d1fb46683a9a7ad1f521eb56.zip
refactor: ...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs')
-rw-r--r--BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs
index 32e25aaa..83dc51f9 100644
--- a/BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs
+++ b/BackEnd/Timeline.Tests/IntegratedTests/UserPermissionTest.cs
@@ -190,8 +190,8 @@ namespace Timeline.Tests.IntegratedTests
const string url = "users/user123/permissions/UserManagement";
- await client.TestPutAssertNotFoundAsync(url, errorCode: ErrorCodes.UserCommon.NotExist);
- await client.TestDeleteAssertNotFoundAsync(url, errorCode: ErrorCodes.UserCommon.NotExist);
+ await client.TestPutAssertErrorAsync(url, errorCode: ErrorCodes.NotExist.User);
+ await client.TestDeleteAsync(url);
}
}
}