As part of this effort, a dedicated "torrents" storage location was
added to filesystems.php, which affects the torrent file storage
location. Accordingly, the torrent files in existing installations will
need to be moved (or symlinked) upon upgrade. The primary reason for
this change is mentioned in the Laravel docs: "This convention will
keep your publicly accessible files in one directory that can be easily
shared across deployments when using zero down-time deployment systems
like Envoyer."
This factory was causing unexpected behavior with the UserFactory;
basically, this factory was taking precedence whenever
factory(User::class) was called.
Oddly, this factory was effective only in the Travis-CI environment and
not anybody's respective local environment. Presumably, some nuance
with the filesystem coupled with Composer's autoloader affects the
order in which the respective factories are registered in different
environments.
In any case, this factory is no longer useful and is hereby deleted,
which fixes a handful of test methods that heretofore had to be marked
as incomplete.
Given the sheer volume of migrations, it takes about 40 seconds on an average system to execute them all prior to running the test suite.
Loading one flat SQL file instead of executing each migration reduces this overhead significantly.
This is implemented in a way that degrades gracefully; if the flat file is not specified, all migrations will run as normal.
Currently, the test suite requires way longer than necessary because it runs all the scaffolded tests, even though they exit immediately.
Moving them until they are implemented will speed-up the test suite execution time dramatically.