test(process): check each capture provider field once instead of per side (#11067)

The provider admission matrix ran each of the three provider fields for
both sides through CLI and MCP. Alternating sides keeps every field and
both side labels, and removing the version check or the side label still
fails a remaining row.
This commit is contained in:
morluto authored and GitHub committed 2026-11-15 19:31:44 +08:00
1 parent 1151763582
commit b3cba0d762
1 file changed
+6 -9
@@ -194,15 +194,12 @@ it.each(
},
);
it.each(
(["left", "right"] as const).flatMap((side) =>
[
{ id: "unrelated-provider" },
{ version: "1" },
{ name: "unrelated provider" },
].map((change) => ({ side, change })),
),
)(
// Each provider field is checked once; alternating sides covers both labels.
it.each([
{ side: "left", change: { id: "unrelated-provider" } },
{ side: "right", change: { version: "1" } },
{ side: "left", change: { name: "unrelated provider" } },
] as const)(
"rejects an authenticated $side capture with provider $change",
async ({ side, change }) => {
const wrongProvider = captureEvidence(