stabilize tests
This commit is contained in:
@@ -348,7 +348,7 @@ public class NotifyWebServiceContractTests : IClassFixture<WebApplicationFactory
|
||||
|
||||
// Act
|
||||
var response = await client.PostAsync(
|
||||
"/api/v1/notify/_internal/rules/normalize",
|
||||
"/internal/notify/rules/normalize",
|
||||
new StringContent(payload.ToJsonString(), Encoding.UTF8, "application/json"),
|
||||
CancellationToken.None);
|
||||
|
||||
@@ -418,7 +418,7 @@ public class NotifyWebServiceContractTests : IClassFixture<WebApplicationFactory
|
||||
|
||||
json?["channelId"].Should().NotBeNull();
|
||||
json?["tenantId"].Should().NotBeNull();
|
||||
json?["channelType"].Should().NotBeNull();
|
||||
json?["type"].Should().NotBeNull();
|
||||
json?["name"].Should().NotBeNull();
|
||||
}
|
||||
|
||||
@@ -479,6 +479,7 @@ public class NotifyWebServiceContractTests : IClassFixture<WebApplicationFactory
|
||||
["enabled"] = true,
|
||||
["config"] = new JsonObject
|
||||
{
|
||||
["secretRef"] = "vault://notify/channels/test",
|
||||
["target"] = "test@example.com"
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user