diff --git a/DotNet~/ShrinkSDK.Command.Integration.Network.csproj b/DotNet~/ShrinkSDK.Command.Integration.Network.csproj
index 9030c27..6a31a75 100644
--- a/DotNet~/ShrinkSDK.Command.Integration.Network.csproj
+++ b/DotNet~/ShrinkSDK.Command.Integration.Network.csproj
@@ -5,16 +5,16 @@
ShrinkCommand.Integration.Network
ShrinkCommand.Integration
ShrinkSDK.Command.Integration.Network
- 0.2.5
+ 0.2.6
ShrinkCommand and Network RPC integration.
true
-
-
-
-
+
+
+
+
diff --git a/Tests/IntegrationComponentsTests.cs b/Tests/IntegrationComponentsTests.cs
index df1664e..fe5537a 100644
--- a/Tests/IntegrationComponentsTests.cs
+++ b/Tests/IntegrationComponentsTests.cs
@@ -1,5 +1,6 @@
#nullable enable
using System;
+using System.Collections;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using NUnit.Framework;
@@ -9,6 +10,7 @@ using ShrinkContext;
using ShrinkDataSaver.Integration.App;
using ShrinkNetwork;
using ShrinkNetwork.Integration.App;
+using UnityEngine.TestTools;
namespace ShrinkCommand.Integration.Network.Tests
{
@@ -27,10 +29,10 @@ namespace ShrinkCommand.Integration.Network.Tests
_runtime = new ShrinkContextRuntime();
}
- [TearDown]
- public void TearDown()
+ [UnityTearDown]
+ public IEnumerator TearDown()
{
- _runtime.ShutdownAsync().GetAwaiter().GetResult();
+ yield return _runtime.ShutdownAsync().ToCoroutine();
}
private static void Run(UniTask task) => task.GetAwaiter().GetResult();
@@ -83,16 +85,15 @@ namespace ShrinkCommand.Integration.Network.Tests
ShrinkCommandAppComponent.ServiceKey, out _), "退役撤回服务键");
}
- [Test]
- public void DataSaverComponent_Activates_FlushesOnDeactivate_WithdrawsKey()
+ [UnityTest]
+ public IEnumerator DataSaverComponent_Activates_FlushesOnDeactivate_WithdrawsKey()
{
var fiber = _runtime.Use(new ShrinkDataSaverAppComponent());
Assert.AreEqual(ShrinkFiberState.Active, fiber.State);
Assert.IsTrue(_runtime.TryGetRaw