Remove support for LOTGD_CONFIG environment variable.

This commit is contained in:
Austen McDonald
2016-08-09 00:49:20 -07:00
parent 9f698239b4
commit b360ca9ac6
6 changed files with 10 additions and 22 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class GameTest extends ModelTestCase
$logger = new Logger('test');
$logger->pushHandler(new NullHandler());
$this->g = new Game(new Configuration(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . getenv('LOTGD_CONFIG')), $logger, $this->getEntityManager());
$this->g = new Game(new Configuration(implode(DIRECTORY_SEPARATOR, [__DIR__, '..', 'config', 'lotgd.yml'])), $logger, $this->getEntityManager());
}
public function testGetCharacterException()