Commit a5fb9c8
test: fix e2e teardown to add FREE pricing record after existing ones
The cleanup in make_actor appended a FREE pricing_info with a hardcoded
startedAt='2024-01-01', which the API rejected for actors that already had
later-dated pricing records with "The record you are adding must start after
all existing records." Compute startedAt as max(latest_existing, now) + 1s so
the added record always starts strictly after existing ones.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 88d28b0 commit a5fb9c8
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
357 | 360 | | |
358 | 361 | | |
359 | | - | |
360 | | - | |
| 362 | + | |
| 363 | + | |
361 | 364 | | |
362 | 365 | | |
363 | 366 | | |
| |||
0 commit comments