Commit b9209ad
committed
Replace mocked FixExecution with a real record in DataFixerEndpointTest
- Updated `DataFixerEndpointTest` to use a real `FixExecution` record instead of a mock, as records are final and cannot be mocked.
- Populated the `FixExecution` with realistic field operations to improve test accuracy and coverage.
Signed-off-by: Erik Pförtner <splatcrafter@splatgames.de>1 parent e28800d commit b9209ad
1 file changed
Lines changed: 26 additions & 7 deletions
File tree
- aether-datafixers-spring-boot-starter/src/test/java/de/splatgames/aether/datafixers/spring/actuator
Lines changed: 26 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
242 | 267 | | |
243 | 268 | | |
244 | 269 | | |
245 | 270 | | |
246 | 271 | | |
247 | 272 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | 273 | | |
255 | 274 | | |
256 | 275 | | |
| |||
0 commit comments