diff --git a/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverSubscribeTests.cs b/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverSubscribeTests.cs index 84e5df09..42a94254 100644 --- a/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverSubscribeTests.cs +++ b/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverSubscribeTests.cs @@ -245,7 +245,7 @@ public sealed class GalaxyDriverSubscribeTests using var driver = new GalaxyDriver("g", Opts()); var ex = await Should.ThrowAsync(() => driver.SubscribeAsync(["x"], TimeSpan.FromSeconds(1), CancellationToken.None)); - ex.Message.ShouldContain("PR 4.W"); + ex.Message.ShouldContain("GalaxyDriver.SubscribeAsync requires"); } /// Verifies subscription falls back to configured interval when zero is passed. diff --git a/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverWriteTests.cs b/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverWriteTests.cs index 61c86d06..9c08b942 100644 --- a/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverWriteTests.cs +++ b/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests/Runtime/GalaxyDriverWriteTests.cs @@ -188,15 +188,15 @@ public sealed class GalaxyDriverWriteTests writer.Calls.ShouldBeEmpty(); } - /// Verifies that WriteAsync throws when no writer is configured, referencing PR 4.4. + /// Verifies that WriteAsync throws a clear guard error when no writer is configured. [Fact] - public async Task WriteAsync_NoWriter_Throws_PointingAtPR44() + public async Task WriteAsync_NoWriter_Throws() { var driver = new GalaxyDriver("g", Opts()); var ex = await Should.ThrowAsync(() => driver.WriteAsync([new WriteRequest("x", 1)], CancellationToken.None)); - ex.Message.ShouldContain("PR 4.4"); + ex.Message.ShouldContain("GalaxyDriver.WriteAsync requires"); } /// Verifies that WriteAsync throws ObjectDisposedException after the driver is disposed.