Path: redb-identity/tests/redb.Identity.Tests/FullStack/ManagementMissingRecordTests.cs
Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity
Page: https://redbase.app/src/dev-2026-12-06/redb-identity/tests/redb.Identity.Tests/FullStack/ManagementMissingRecordTests.cs
----
using System.Net.Http.Headers;
using System.Net.Http.Json;
using AwesomeAssertions;
using redb.Identity.Tests.Infrastructure;
using Xunit;
using Xunit.Abstractions;
namespace redb.Identity.Tests.FullStack;
///
/// A management request that names a record which does not exist is answered 404. It is never a
/// server error: the caller asked for something that is not there, the server did not fail.
///
[Collection("ProductionHttp")]
public class ManagementMissingRecordTests
{
private const string MissingId = "987654321012";
private readonly ProductionHttpFixture _fx;
private readonly ITestOutputHelper _out;
public ManagementMissingRecordTests(ProductionHttpFixture fx, ITestOutputHelper output)
{
_fx = fx;
_out = output;
}
public static IEnumerable