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