Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

phpunit.xml

Blame
    • Sofiane Lasri's avatar
      d77d6ad7
      feat: add category localization support and CRUD operations · d77d6ad7
      Sofiane Lasri authored
      - Updated the database configuration to use in-memory SQLite for testing.
      - Renamed `nameTranslation` to `nameTranslationKey` in `Category` model and updated the relation to `TranslationKey`.
      - Added `CategoryController` methods: `store`, `edit`, and `update` for category management with localization support.
      - Removed `CategoryRequest.php` and created `CategoryTest.php` for testing new features.
      - Modified `edit.blade.php` to dynamically set titles and pre-fill form data for category editing.
      - Updated `phpunit.xml` to use SQLite connection.
      - Added relation `translations` and method `getTranslation` in `TranslationKey` model for fetching translations.
      - New routes added for category creation, editing, and updating in `web.php`.
      d77d6ad7
      History
      feat: add category localization support and CRUD operations
      Sofiane Lasri authored
      - Updated the database configuration to use in-memory SQLite for testing.
      - Renamed `nameTranslation` to `nameTranslationKey` in `Category` model and updated the relation to `TranslationKey`.
      - Added `CategoryController` methods: `store`, `edit`, and `update` for category management with localization support.
      - Removed `CategoryRequest.php` and created `CategoryTest.php` for testing new features.
      - Modified `edit.blade.php` to dynamically set titles and pre-fill form data for category editing.
      - Updated `phpunit.xml` to use SQLite connection.
      - Added relation `translations` and method `getTranslation` in `TranslationKey` model for fetching translations.
      - New routes added for category creation, editing, and updating in `web.php`.