Commit 8a7d678c authored by datdiep's avatar datdiep

fix

parent 8e7fb01d
...@@ -6,13 +6,22 @@ using System.Text; ...@@ -6,13 +6,22 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using UF.AssessmentProject.Controllers; using UF.AssessmentProject.Controllers;
using UF.AssessmentProject.Helper; using UF.AssessmentProject.Helper;
using UF.AssessmentProject.logs;
using Xunit; using Xunit;
namespace TestProject1 namespace TestProject1
{ {
public class ControllerTest public class ControllerTest
{ {
TransactionController _controller = new TransactionController(); TransactionController _controller;
private readonly ILoggerManager _logger;
public ControllerTest()
{
_logger = new LoggerManager();
_controller = new TransactionController(_logger);
}
[Fact] [Fact]
public void Expired() public void Expired()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment