Skip to content

M2 : Testing Infrastructure & Data Integrity

Closed
Due by July 4, 2026
Closed Jul 16, 2026

Milestone 2: M2 - Testing Framework Setup & Data Integrity

Description

This milestone focuses on resolving the critical technical debt holding back the application's test infrastructure under PHP 7.4. Once the test engine is operational, the milestone aims to secure core data integrity issues inherited from the original MVP, specifically managing task-to-user bindings and handling unassigned historical records.

Achieving this milestone guarantees a reliable, testable backend architecture ready for advanced security features.

Key Objectives of the Milestone

  1. Testing Environment Modernization: Implement a custom test bootstrap to bridge the Symfony 3.1 testing framework with PHPUnit 7.5 under PHP 7.4.
  2. Automated Tracking Implementation: Programmatically bind authenticated users to newly created tasks during form submissions.
  3. Data Immutability enforcement: Lock authorship fields within form types and controllers to prevent unauthorized ownership tampering during task updates.
  4. Legacy Data Migration: Design and execute a migration strategy (SQL script or Symfony command) to safely map all anonymous legacy tasks to a dedicated "anonyme" user record.

Suggested Target Date

End of Week 1 (Day 5)

Issues Associated with this Milestone

  • Issue #6: Configuration de PHPUnit et premier rapport de couverture (chore/setup-phpunit)
  • Issue #7: Rattacher automatiquement l'utilisateur connecté à la création d'une tâche (fix/task-user-binding)
  • Issue #8: Gérer la modification des tâches (auteur non modifiable) (fix/task-author-immutable)
  • Issue #9: Rattacher les tâches existantes à un utilisateur "anonyme" (task/anonymous-user-migration)
100% complete

List view

    There are no open issues in this milestone

    Add issues to milestones to help organize your work for a particular release or project. Find and add issues with no milestones in this repo.