diff --git a/tests/GameCult.Caching.Tests/CatalogMemberVectorTests.cs b/tests/GameCult.Caching.Tests/CatalogMemberVectorTests.cs index dc0bb1ae..909ec393 100644 --- a/tests/GameCult.Caching.Tests/CatalogMemberVectorTests.cs +++ b/tests/GameCult.Caching.Tests/CatalogMemberVectorTests.cs @@ -168,9 +168,10 @@ namespace GameCult.Caching.Tests public void MembersEmptyRustStoreStillLoads() { AssertEqualToExpected(ReadM1("rust-members-empty-store.cc", out var reports)); - var warnings = reports.SelectMany(report => report.Warnings).Select(warning => warning.Code).Distinct().ToArray(); - Assert.That(warnings, Is.Not.Empty); - Assert.That(warnings, Is.All.EqualTo("defaulted_missing_slot")); + // What today's reader says of a catalog with no member rows: it loads, with warnings and no refusal. The three codes are + // the ones the reader raises when it has members and the store has none. + var warnings = reports.SelectMany(report => report.Warnings).Select(warning => warning.Code).Distinct().OrderBy(code => code, StringComparer.Ordinal).ToArray(); + Assert.That(warnings, Is.EqualTo(new[] { "compatible_schema_id_drift", "content_hash_drift", "defaulted_missing_slot" })); } } }