main
wanggaofeng 4 months ago
parent 602cb9dbe2
commit 9790c531c7

@ -5,7 +5,7 @@ using IdentityModel.Internal;
namespace Id4Study.Test namespace Id4Study.Test
{ {
public class UnitTest1 public class Id4BaseTest
{ {
[Fact] [Fact]
public async Task Test1Async() public async Task Test1Async()
@ -40,8 +40,7 @@ namespace Id4Study.Test
client.SetBearerToken(tokenResponse?.AccessToken ?? ""); client.SetBearerToken(tokenResponse?.AccessToken ?? "");
HttpResponseMessage? res = await client.GetAsync( HttpResponseMessage? res = await client.GetAsync("http://192.168.20.46:8016/api.exam/v1.0.0.0/Paper/GetPaperListByPage?companyId=1051&orgId=198&currentPageIndex=1&pageSize=50");
"http://192.168.20.46:8016/api.exam/v1.0.0.0/Paper/GetPaperListByPage?companyId=1051&orgId=198&currentPageIndex=1&pageSize=50");
Assert.True(res.IsSuccessStatusCode); Assert.True(res.IsSuccessStatusCode);
Loading…
Cancel
Save