added test project and put integration and unit tests under single test project

This commit is contained in:
StevanFreeborn
2022-07-05 14:38:00 -05:00
parent 64662126e1
commit 6d94582686
9 changed files with 52 additions and 194 deletions
@@ -0,0 +1,18 @@
using Moq;
using server.Controllers.v1;
using server.Persistence.Repositories;
namespace server.tests.unitTests
{
public class CharacterControllerUnitTests
{
private readonly Mock<ICharacterRepository> _mockRepo;
private readonly CharactersController _controller;
public CharacterControllerUnitTests()
{
_mockRepo = new Mock<ICharacterRepository>();
_controller = new CharactersController(_mockRepo.Object);
}
}
}