This is an automated email from git. It was generated because a ref
change was pushed to the "galette/plugin-auto.git" repository.
The branch, develop has been updated
via 57decb61e883440e0281b2357069e9ca28c14d16 (commit)
from a03f0a8f08d92948571dff342ef49b28f4bead25 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 57decb61e883440e0281b2357069e9ca28c14d16
Author: Johan Cwiklinski <[email protected]>
Date: Sat Feb 10 17:46:37 2024 +0100
Add unit tests, few fixes and adaptations
-----------------------------------------------------------------------
Summary of changes:
.github/workflows/ci-linux.yml | 143 ++++++++-
lib/GaletteAuto/AbstractObject.php | 11 +-
lib/GaletteAuto/Auto.php | 32 +-
lib/GaletteAuto/Autos.php | 10 +-
lib/GaletteAuto/Controllers/Controller.php | 2 +-
lib/GaletteAuto/History.php | 58 ++--
lib/GaletteAuto/Model.php | 16 +-
templates/default/history.html.twig | 4 +-
tests/GaletteAuto/tests/units/Auto.php | 322 +++++++++++++++++++++
tests/GaletteAuto/tests/units/Body.php | 129 +++++++++
tests/GaletteAuto/tests/units/Brand.php | 129 +++++++++
tests/GaletteAuto/tests/units/Color.php | 129 +++++++++
tests/GaletteAuto/tests/units/Finition.php | 129 +++++++++
.../GaletteAuto/tests/units/History.php | 37 ++-
tests/GaletteAuto/tests/units/Model.php | 176 +++++++++++
tests/GaletteAuto/tests/units/State.php | 129 +++++++++
tests/GaletteAuto/tests/units/Transmission.php | 129 +++++++++
_config.inc.php => tests/TestsBootstrap.php | 12 +-
18 files changed, 1525 insertions(+), 72 deletions(-)
create mode 100644 tests/GaletteAuto/tests/units/Auto.php
create mode 100644 tests/GaletteAuto/tests/units/Body.php
create mode 100644 tests/GaletteAuto/tests/units/Brand.php
create mode 100644 tests/GaletteAuto/tests/units/Color.php
create mode 100644 tests/GaletteAuto/tests/units/Finition.php
copy lib/GaletteAuto/Filters/PropertiesList.php =>
tests/GaletteAuto/tests/units/History.php (58%)
create mode 100644 tests/GaletteAuto/tests/units/Model.php
create mode 100644 tests/GaletteAuto/tests/units/State.php
create mode 100644 tests/GaletteAuto/tests/units/Transmission.php
copy _config.inc.php => tests/TestsBootstrap.php (72%)
hooks/post-receive
--
galette/plugin-auto.git
--
Galette repositories commits - http://galette.eu
List documentation: https://listengine.tuxfamily.org/lists.galette.eu/commits/