7 references to Publish
Aspire.Hosting.Native.Core.Tests (7)
NativeDashboardTests.cs (2)
51context.Publish("Running", healthy: true, "http://localhost:8123"); 76context.Publish("Failed", healthy: false);
ResourceWorkloadTests.cs (1)
65Assert.Equal("HANDLE_NOT_FOUND", context.Publish("Running", true)["result"]!["$error"]!["code"]!.GetValue<string>());
RuntimeRpcTests.cs (4)
42Assert.Null(context.Publish("Running", healthy: true, "http://localhost:8000")["result"]); 71Assert.Equal("HANDLE_NOT_FOUND", Error(context.Publish("Running", healthy: true))); 132context.Publish("Running", healthy: true, "http://localhost:8000"); 156Assert.Equal("HANDLE_NOT_FOUND", Error(context.Publish("Running", healthy: true)));