mirror of
https://github.com/monoscope-tech/monoscope.git
synced 2026-11-16 10:18:01 +00:00
fix(test): make the two new cross-tenant error-pattern tests runnable
Both examples added inf49798eaa/0b42a201efail on master as written, so the suite is red independently of anything else in flight. Two schema constraints their fixtures miss: - `error_patterns.stacktrace` is NOT NULL, and neither INSERT supplied it. - `canonical_id` is a self-referencing FK, and both pointed at a freshly generated UUID with no matching row. Supplies an empty stacktrace and inserts the canonical parent first, which is what "merged under a canonical parent" in the second test's own comment describes. The canonical rows carry deliberately bland values so the disclosure assertions still key on the member's strings. What each test asserts is unchanged. Verified: 26 examples, 0 failures.
This commit is contained in:
parent
85f868c815
commit
6320d24441
1 changed files with 41 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue