betagouv / mes-aides-api

A mapping interface between the mes-aides user interface and the OpenFisca simulation engine.
https://mes-aides.gouv.fr
20 stars 2 forks source link

Make sure tests fail when OpenFisca returns an error #129

Closed guillett closed 6 years ago

guillett commented 7 years ago

Previously when Openfisca failed, that result was not persisted in the DB.

The failure was visible in the UI but after a page refreshes it was no longer available.

That change is a hack to help during the removal of mes-aides-api logic.

MattiSG commented 7 years ago

The failure was visible in the UI but after a page refreshes it was no longer available.

If what you want is to ensure a refresh keeps the results, this is more probably something to fix in the UI either by caching the response or by ensuring a new request is sent on each reload 🙂

guillett commented 6 years ago

The project is deprecated.