diff --git a/src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs b/src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs index cb33536..d52d310 100644 --- a/src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs +++ b/src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs @@ -17,7 +17,7 @@ public class Test_IMaaController MaaTypes.Native, new MaaAdbController(Common.AdbPath, Common.Address, s_inputPreset | AdbControllerTypes.ScreencapEncode, Common.AdbConfig, Common.AgentPath, LinkOption.None) }, { - MaaTypes.Grpc, new MaaAdbControllerGrpc(Common.GrpcChannel, Common.AdbPath, Common.Address, s_inputPreset | AdbControllerTypes.ScreencapEncode, Common.AdbConfig, Common.AgentPath, LinkOption.None) + MaaTypes.Grpc, new MaaAdbControllerGrpc(Common.GrpcChannel, Common.AdbPath, Common.Address, s_inputPreset | AdbControllerTypes.Scre, Common.AdbConfig, Common.AgentPath, LinkOption.None) } }; public static Dictionary Data { get; private set; } = default!; @@ -331,7 +331,7 @@ public void GithubActionsTest(AdbControllerTypes screencap) using var maa = new MaaAdbController( Common.AdbPath, Common.Address, - AdbControllerTypes.InputPresetAdb | AdbControllerTypes.ScreencapEncode, + AdbControllerTypes.InputPresetAdb | screencap, "{}", Common.AgentPath);