Running phpunit from within PhpStorm wipes out local database

Hi there!

I am new to PhpStorm. I installed PHP 7.1 using Homebrew on Mac OS X High Siera and have a local development environment setup for a laravel project. I setup PhpStorm to use PHPUnit for testing. I can run "phpunit" command from terminal just fine, however, when I run it from inside of PhpStorm, it runs but it also wipes out my whole local database (I checked using SequelPro). Any help regarding this would be appreciated.

0
Avatar
Permanently deleted user

Hello,

What database exactly? The one that is used by the code you are testing?

0

请先登录再写评论。