aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-20 22:15:14 +0800
committercrupest <crupest@outlook.com>2022-04-20 22:15:14 +0800
commit56cd10828f090b4526196d012b0c2efb5033aced (patch)
treefa009ecf1b4f0f2c94748c7a5dc09b08ae6cc1dd /BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs
parent4ea9fb554ec97248805ddf85489a9800f1f4b002 (diff)
downloadtimeline-56cd10828f090b4526196d012b0c2efb5033aced.tar.gz
timeline-56cd10828f090b4526196d012b0c2efb5033aced.tar.bz2
timeline-56cd10828f090b4526196d012b0c2efb5033aced.zip
...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs')
-rw-r--r--BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs b/BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs
index b840183e..d11c3250 100644
--- a/BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs
+++ b/BackEnd/Timeline.Tests/IntegratedTests2/RegisterCodeTest.cs
@@ -52,8 +52,8 @@ namespace Timeline.Tests.IntegratedTests2
[Fact]
public async Task PermissionTest()
{
- await TestOnlySelfAndAdminCanCall(HttpMethod.Get, "v2/users/user/registercode", "v2/users/admin/registercode", null);
- await TestOnlySelfAndAdminCanCall(HttpMethod.Post, "v2/users/user/renewregistercode", "v2/users/admin/renewregistercode", null);
+ await this.TestOnlySelfAndAdminCanCall(HttpMethod.Get, "v2/users/user/registercode", "v2/users/admin/registercode", null);
+ await this.TestOnlySelfAndAdminCanCall(HttpMethod.Post, "v2/users/user/renewregistercode", "v2/users/admin/renewregistercode", null);
}
}
}