Closed thibaultmeyer closed 2 years ago
Nice one!
Could you think of a way to test this? Otherwise someone might remove that functionality - and nobody notices that it breaks something for users...
I'm not sure how to unit test this change, it's a private method that uses hardcoded value "src/main" to find assets folder.
I see that at the time, you had the same problem with the existing test AssetsControllerTest::testStaticDirectoryIsFileSystemInDevMode
. It only tests the case where the requested file does not exist.
@raphaelbauer
make sense..
Resolves: #712