Add db for backup and memory happiness
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using JoshHeaps.Net.Models;
|
||||
using JoshHeaps.Net.DAL;
|
||||
using JoshHeaps.Net.Models;
|
||||
using JoshHeaps.Net.Services.Implementations;
|
||||
using JoshHeaps.Net.Utilities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace JoshHeaps.Net.Tests.JsonTests;
|
||||
@@ -11,7 +13,7 @@ internal class JsonConversionTests
|
||||
public void ConvertBoard_WhenGivenStartingBoard_CanConvertToAndFromJson()
|
||||
{
|
||||
// Arrange
|
||||
var gameState = new ChessService().CreateNewGame();
|
||||
var gameState = new ChessService(null).CreateNewGame();
|
||||
|
||||
// Act
|
||||
var serializedGameState = JsonSerializer.Serialize(gameState);
|
||||
|
||||
Reference in New Issue
Block a user