Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetCash.Tests.TransactionFixture.Can_Transfer_Between_Different_Currencies fails (in GnuCash 5.9) #3

Open
gamorris opened this issue Nov 17, 2024 · 0 comments

Comments

@gamorris
Copy link

First off: Thank you for writing this library. It looks like it is going to save me a lot of time with my current project!

Running the test suite, I am getting a failure in TransactionFixture.Can_Transfer_Between_Different_Currencies. My local GnuCash version is 5.9. The failure is:

      Message: 
        Assert.Equal() Failure
        Expected: 15.71
        Actual:   100

      Stack Trace: 
        TransactionFixture.Can_Transfer_Between_Different_Currencies(TestingBook testingBook) line 165

Looking at the test book in GnuCash I see the test transaction created. It has amount $100 in the "Cash in Wallet (USD)" account.

I tried to poke at what the test is trying to do a little bit, but unfortunately I don't understand what is supposed to be happening there well enough to make very much progress on debugging this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant