Add debug logging to fort error cases #2754
Annotations
2 errors
DragaliaAPI.Test.Features.Fort.FortServiceTest ► BuildStart_InsufficientCarpenters_Throws:
DragaliaAPI/DragaliaAPI.Test/Features/Fort/FortServiceTest.cs#L432
Failed test found in:
DragaliaAPI.Test.trx
Error:
Expected a <DragaliaAPI.Services.Exceptions.DragaliaException> to be thrown, but found <Moq.MockException>:
Moq.MockException: IFortRepository.Builds invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle(Invocation invocation, Mock mock) in /_/src/Moq/Interception/InterceptionAspects.cs:line 182
at Moq.Mock.Moq.IInterceptor.Intercept(Invocation invocation) in /_/src/Moq/Interception/Mock.cs:line 27
at Moq.CastleProxyFactory.Interceptor.Intercept(IInvocation underlying) in /_/src/Moq/Interception/CastleProxyFactory.cs:line 107
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.IFortRepositoryProxy.get_Builds()
at DragaliaAPI.Features.Fort.FortService.Upgrade(FortPlantDetail plantDetail) in /home/runner/work/Dawnshard/Dawnshard/DragaliaAPI/DragaliaAPI/Features/Fort/FortService.cs:line 512
at DragaliaAPI.Features.Fort.FortService.BuildStart(FortPlants fortPlantId, Int32 positionX, Int32 positionZ) in /home/runner/work/Dawnshard/Dawnshard/DragaliaAPI/DragaliaAPI/Features/Fort/FortService.cs:line 386
at FluentAssertions.Specialized.AsyncFunctionAssertions`2.InvokeWithInterceptionAsync(Func`1 action).
|
DragaliaAPI.Test.Features.Fort.FortServiceTest ► LevelupStart_InsufficientCarpenters_Throws:
DragaliaAPI/DragaliaAPI.Test/Features/Fort/FortServiceTest.cs#L510
Failed test found in:
DragaliaAPI.Test.trx
Error:
Expected a <DragaliaAPI.Services.Exceptions.DragaliaException> to be thrown, but found <Moq.MockException>:
Moq.MockException: IFortRepository.Builds invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle(Invocation invocation, Mock mock) in /_/src/Moq/Interception/InterceptionAspects.cs:line 182
at Moq.Mock.Moq.IInterceptor.Intercept(Invocation invocation) in /_/src/Moq/Interception/Mock.cs:line 27
at Moq.CastleProxyFactory.Interceptor.Intercept(IInvocation underlying) in /_/src/Moq/Interception/CastleProxyFactory.cs:line 107
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.IFortRepositoryProxy.get_Builds()
at DragaliaAPI.Features.Fort.FortService.Upgrade(FortPlantDetail plantDetail) in /home/runner/work/Dawnshard/Dawnshard/DragaliaAPI/DragaliaAPI/Features/Fort/FortService.cs:line 512
at DragaliaAPI.Features.Fort.FortService.LevelupStart(Int64 buildId) in /home/runner/work/Dawnshard/Dawnshard/DragaliaAPI/DragaliaAPI/Features/Fort/FortService.cs:line 445
at FluentAssertions.Specialized.AsyncFunctionAssertions`2.InvokeWithInterceptionAsync(Func`1 action).
|