Commit c286fcc
committed
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>
pkg update1 parent 4d9f73e commit c286fcc
2 files changed
Lines changed: 7 additions & 4 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 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments