File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
Original file line number Diff line number Diff line change 22
33namespace Tests ;
44
5+ use Facades \Statamic \Console \Processes \Process ;
56use Illuminate \Filesystem \Filesystem ;
67use Statamic \Facades \Path ;
78use Statamic \Migrator \Concerns \PreparesPathFolder ;
9+ use Statamic \Migrator \Configurator ;
810use Statamic \Migrator \YAML ;
911
1012class TestCase extends \Orchestra \Testbench \TestCase
@@ -45,6 +47,9 @@ protected function setUp(): void
4547
4648 $ this ->restoreFilesystemConfig ();
4749 $ this ->restoreStatamicConfigs ();
50+
51+ // The first run after a fresh Composer install fails for some reason. This fixes it 🤷♂️
52+ Process::run ([getcwd ().'/vendor/bin/php-cs-fixer ' , 'fix ' , __DIR__ .'/Fixtures/throwaway.php ' ]);
4853 }
4954
5055 protected function tearDown (): void
You can’t perform that action at this time.
0 commit comments