From 61aad62d817ddb6494f52a531fccb7e82bcfd13c Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期五, 08 八月 2025 17:39:27 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/ApiFlexJob --- FlexJobApi.FlexJobServer.Test/Tasks/TaskUnitTest.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/FlexJobApi.FlexJobServer.Test/Tasks/TaskUnitTest.cs b/FlexJobApi.FlexJobServer.Test/Tasks/TaskUnitTest.cs index 3a93b69..4d96e1e 100644 --- a/FlexJobApi.FlexJobServer.Test/Tasks/TaskUnitTest.cs +++ b/FlexJobApi.FlexJobServer.Test/Tasks/TaskUnitTest.cs @@ -5,10 +5,17 @@ { public class TaskUnitTest { + private readonly ResourceHttpUtils http; + + public TaskUnitTest(ResourceHttpUtils http) + { + this.http = http; + } + [Fact] public async Task Test1() { - var categories = await ResourceUtils.SendHttpAsync< + var categories = await http.SendHttpAsync< GetDictionaryCategorySelectQuery, FriendlyResult<SelectOption<Guid, GetDictionaryCategorySelectQueryOption>>>( new GetDictionaryCategorySelectQuery()); -- Gitblit v1.9.1