diff --git a/cept.bat b/cept.bat new file mode 100644 index 000000000..75203532e --- /dev/null +++ b/cept.bat @@ -0,0 +1,5 @@ +@echo off +@setlocal +set CODECEPT_PATH=vendor/bin/ +"%CODECEPT_PATH%codecept.bat" %* +@endlocal diff --git a/composer.json b/composer.json index aca991929..13fe26311 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,8 @@ "codeception/base": "~2.3.0", "codeception/verify": "~0.4.0", - "codeception/specify": "~0.4.6" + "codeception/specify": "~0.4.6", + "guzzlehttp/guzzle": ">=4.1.4 <7.0" }, "config": { "process-timeout": 1800, diff --git a/config/db.php b/config/db.php index bc75e616f..980d53f5c 100644 --- a/config/db.php +++ b/config/db.php @@ -4,7 +4,7 @@ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=yii2basic', 'username' => 'root', - 'password' => '', + 'password' => 'root', 'charset' => 'utf8', // Schema cache options (for production environment)