Add comprehensive unit test coverage for controllers, models, and services

- Translate French comments to English in controllers and tests
- Fix test failures: route helpers, validations, MySQL transaction issues
- Add Timecop for time-dependent tests and update database config for isolation
This commit is contained in:
kbe
2025-09-15 19:27:06 +02:00
parent ee43996a77
commit 4cde466f9a
13 changed files with 287 additions and 29 deletions

View File

@@ -12,6 +12,7 @@ module ActiveSupport
class TestCase
# Run tests in parallel with specified workers
parallelize(workers: :number_of_processors)
use_transactional_fixtures = true
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all