AccountsFeature link
As an authenticated user
I want to retrieve the chart of accounts
So that I can view all account entries
Should return chart of accounts (868ms) link
✓ 1. GIVEN I have a valid jwt and org (8ms)
✓ 2. WHEN I call get chart of accounts (756ms)
✕ 3. THEN I should receive a success response with accounts (74ms)
Details:
Step 3: Xunit.Sdk.XunitException : Expected _response.IsSuccessStatusCode to be True because API should return HTTP 200 OK, but found False.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
at Dhanman.E2E.Tests.Features.AccountsFeature.Then_I_should_receive_a_success_response_with_accounts() in /home/runner/work/dhanman-e2e-tests/dhanman-e2e-tests/src/Dhanman.E2E.Tests/Features/AccountsFeature.cs:line 59