Add db for backup and memory happiness

This commit is contained in:
jheaps
2025-07-05 18:48:30 -06:00
parent 7a532e52e1
commit 9003d2c4dd
27 changed files with 2682 additions and 245 deletions
@@ -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);