Skip to content

Commit

Permalink
use the new GameSessionController in ExampleGameSessionForApi test
Browse files Browse the repository at this point in the history
  • Loading branch information
Konrad Jamrozik committed Jun 7, 2024
1 parent 607d0d7 commit fb01b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game-lib-tests/AIPlayerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void ExampleGameSessionForApi()
var log = new Log(config);
var randomGen = new RandomGen(new Random());
var intellect = AIPlayer.Intellect.Basic;
var controller = new GameSessionController(config, log, new GameSession(randomGen));
var controller = new GameSessionController2(config, log, new GameSession2(randomGen));
var aiPlayer = new AIPlayer(log, intellect);

// Act
Expand Down
2 changes: 1 addition & 1 deletion src/game-lib/Lib/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Configuration

public readonly bool LoggingEnabled;

public Configuration(IFileSystem fs, bool loggingEnabled = true)
public Configuration(IFileSystem fs, bool loggingEnabled = false)
{
// Given expected starting path on .NET 8, using the Simplified Output Paths [1]
// [repo_root]/artifacts/bin/game-lib/debug/.
Expand Down

0 comments on commit fb01b91

Please sign in to comment.