-
Create file
.env.testingusing testing environment; -
Set config cache to testing
$ php artisan config:cache --env=testing # Optional- Run testing
$ php artisan testOR
$ php artisan test --env=testing # For testing env onlyIt must have ip subnet /16 with
xxxxxx:
networks:
sail:
ipv4_address: 172.21.XX.XX
networks:
sail:
driver: bridge
ipam:
config:
- subnet: 172.21.0.0/16There is no existing directory at "/home/tim/Ynov/M2/FinalProject/SimplyTeam-Back/storage/logs" and it could not be created: Permission denied"
php artisan route:clear
php artisan config:clear
php artisan cache:clear protected function setUp(): void
{
parent::setUp();
$this->artisan('passport:install');
}$> php artisan key:generate & php artisan config:cache