Add cwd or rootDir support back to the game so crates can configure where their composer root will live

This commit is contained in:
Austen McDonald
2016-08-09 20:12:34 -07:00
parent f99f94bb56
commit 921eb282a4
10 changed files with 39 additions and 24 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(implode(DIRECTORY_SEPARATOR, [__DIR__, '..', 'config', 'lotgd.yml'])), $logger, $this->getEntityManager());
$this->g = new Game(new Configuration(implode(DIRECTORY_SEPARATOR, [__DIR__, '..', 'config', 'lotgd.yml'])), $logger, $this->getEntityManager(), implode(DIRECTORY_SEPARATOR, [__DIR__, '..']));
}
public function testGetCharacterException()