Commit 859502b
committed
test: narrow API route assertion to /api/ prefix pattern
Avoid broad substring matches on controller names (chat, listingsourcecode,
mcptoken) which could cause false failures if a legitimate content route
ever contains those words. The /api/ prefix is the precise invariant.1 parent 8ad5a85 commit 859502b
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
0 commit comments