Repository navigation
Commit 3f85e74
Mock SatisService in plugin OG image deletion test
The plugin deleting hook resolves SatisService, whose constructor assigns
the (string-typed) api key from config. In CI SATIS_API_KEY is unset, so
the null config value triggered a TypeError. Mock the service in the
deletion test (matching existing Satis test conventions) since the test
only exercises OG image cleanup.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9c1e758 commit 3f85e74
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
| |||
0 commit comments