test(api-instructions): bump instruction count to 13 for chat-history

The new chat-history instruction definition pushes the total
instructionDefs entries from 12 to 13. Update the hard-coded length
assertion in api_instructions_test.go to match.

The presence-level assertion in the sibling \"should include known
instruction names\" test already uses ContainElements rather than
ConsistOf, so no further edits are needed there.

Assisted-by: Claude:claude-opus-4-7

Signed-off-by: TLoE419 <tloemizuchizu@gmail.com>
This commit is contained in:
TLoE419 2026-05-19 10:22:56 -07:00
parent ca1b1959c2
commit bfc9172aac

View file

@ -39,7 +39,7 @@ var _ = Describe("API Instructions Endpoints", func() {
instructions, ok := resp["instructions"].([]any)
Expect(ok).To(BeTrue())
Expect(instructions).To(HaveLen(12))
Expect(instructions).To(HaveLen(13))
// Verify each instruction has required fields and correct URL format
for _, s := range instructions {