Starts in:
1 DAY
21 HRS
18 MIN
26 SEC
Starts in:
1 D
21 H
18 M
26 S

Activities of "bhaveshcomp"

Hello,

We tried applying the fix options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled; in WebTestModule.cs of Web.Tests project but still getting following error

Message:  Shouldly.ShouldAssertException : response.StatusCode should be HttpStatusCode.OK but was HttpStatusCode.Redirect

Stack Trace:  ShopLogicWebTestBase.GetResponseAsync(String url, HttpStatusCode expectedStatusCode) line 35 ExceptionDispatchInfo.Throw() TaskAwaiter.ThrowForNonSuccess(Task task) TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) TaskAwaiter1.GetResult() ShopLogicWebTestBase.GetResponseAsStringAsync(String url, HttpStatusCode expectedStatusCode) line 28 ExceptionDispatchInfo.Throw() TaskAwaiter.ThrowForNonSuccess(Task task) TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) TaskAwaiter1.GetResult() Index_Tests.Welcome_Page() line 12 ExceptionDispatchInfo.Throw() TaskAwaiter.ThrowForNonSuccess(Task task) TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location --- ExceptionDispatchInfo.Throw() TaskAwaiter.ThrowForNonSuccess(Task task) TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ExceptionDispatchInfo.Throw() TaskAwaiter.ThrowForNonSuccess(Task task) TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06