Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 1.13 KB

File metadata and controls

62 lines (47 loc) · 1.13 KB

Fix

testing environment

  1. Create file .env.testing using testing environment;

  2. Set config cache to testing

$ php artisan config:cache --env=testing # Optional
  1. Run testing
$ php artisan test

OR

$ php artisan test --env=testing # For testing env only

Docker-compose won't launch with plage /24

It 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/16

There 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

Error when launch test because null personnal token or any error of token

    protected function setUp(): void
    {
        parent::setUp();
        $this->artisan('passport:install');
    }

No application encryption key has been specified.

$> php artisan key:generate & php artisan config:cache