Remove EnvironmentType Env var setting for test bootstrap

This commit is contained in:
Daniel Hensby 2017-07-20 15:06:07 +01:00
parent e77c7fe04c
commit 7a43bf182e
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -4,13 +4,10 @@
use Dotenv\Loader;
$loader = new Loader(null);
if (!getenv('SS_ENVIRONMENT_TYPE')) {
$loader->setEnvironmentVariable('SS_ENVIRONMENT_TYPE', 'dev');
}
/** @skipUpgrade */
if (!getenv('SS_DATABASE_CLASS') && !getenv('SS_DATABASE_USERNAME')) {
$loader = new Loader(null);
// The default settings let us define the database config via environment vars
// Database connection, including PDO and legacy ORM support
switch (getenv('DB')) {