Commit 0b3120a
authored
fix: update TestMCPGSupportsIntegrityReactions for MCPG v0.2.19 default (#26091)
* fix: update TestMCPGSupportsIntegrityReactions for MCPG v0.2.19 default
The MCPG version bump from v0.2.17 to v0.2.19 (#26071) didn't update
the integrity-reactions test expectations (#25948). The default version
v0.2.19 is now >= min v0.2.18, so nil/empty config cases should expect
true (supported) instead of false.
* fix: update golden files for MCPG v0.2.19 default version
* fix: derive default-version test expectations from constants
Compute the expected result for nil/empty gateway config test cases
dynamically from DefaultMCPGatewayVersion and MCPGIntegrityReactionsMinVersion
so the test doesn't break every time the default MCPG version is bumped.1 parent 46bcc95 commit 0b3120a
File tree
3 files changed
+17
-9
lines changed- pkg/workflow
- testdata/TestWasmGolden_CompileFixtures
3 files changed
+17
-9
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
639 | 642 | | |
640 | 643 | | |
641 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
642 | 651 | | |
643 | 652 | | |
644 | 653 | | |
645 | 654 | | |
646 | 655 | | |
647 | 656 | | |
648 | | - | |
| 657 | + | |
649 | 658 | | |
650 | | - | |
651 | | - | |
| 659 | + | |
652 | 660 | | |
653 | 661 | | |
654 | | - | |
| 662 | + | |
655 | 663 | | |
656 | | - | |
| 664 | + | |
657 | 665 | | |
658 | 666 | | |
659 | 667 | | |
| |||
0 commit comments