From 6c0058d15ab61956b806f62a2b576ffd5d723ed9 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期五, 08 八月 2025 11:16:21 +0800
Subject: [PATCH] fix:bug

---
 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