Files
openwaf/.github
Pavlo Ratushnyi cbee0e4208 The geo endpoint gets asserted as an endpoint, not only as a pill
Last commit covered `/admin-api/geo` behaviourally: the page fetches it and the
summary pill fails if the value is missing. That is coverage of the page, not of
the contract { if a field were renamed, or `loaded` started answering for
something else, the pill could still render and the assertion would still be
satisfied by the shape it happens to look for.

Three direct assertions in `compose-smoke.sh`: the endpoint says a database is
loaded, names what it loaded (`DBIP-Country-Lite`), and reports an age in days as
a number. 38 → **41 assertions**.

The helper that reads scalar fields caught itself: `jval` printed Python's `True`
where the assertion expected JSON's `true`, so the first run failed on spelling
rather than on the product. It emits JSON spellings now.

Numbers: host **41 passed, 0 failed**; the same script in the Linux rehearsal
(`docker:cli`, host daemon) **41 passed, 0 failed**. actionlint 1.7.12 over both
workflow files: 0 problems; shellcheck and `bash -n` clean.
2026-10-01 17:06:34 +02:00
..