Skip to content
  • Thomas Steur's avatar
    7b86403b
    refs #5936 moved some business logic from controller into model which also... · 7b86403b
    Thomas Steur a rédigé
    refs #5936 moved some business logic from controller into model which also brings the advantage to make it better testable. Controller should be always simple/small... removeGoneFiles() is not really testable as it uses the static filesystem and I did not want to make the code ugly to mock it... Looking forward to dependency injection
    7b86403b
    refs #5936 moved some business logic from controller into model which also...
    Thomas Steur a rédigé
    refs #5936 moved some business logic from controller into model which also brings the advantage to make it better testable. Controller should be always simple/small... removeGoneFiles() is not really testable as it uses the static filesystem and I did not want to make the code ugly to mock it... Looking forward to dependency injection
Chargement en cours