hprange / wounit

The WOUnit framework contains a set of utilities for testing WebObjects applications using JUnit 4.7 or later capabilities.
http://hprange.github.io/wounit/
Apache License 2.0
19 stars 18 forks source link

Does TemporaryEditingContext support Many-To-Many relationships? #46

Closed VboxNick closed 8 years ago

VboxNick commented 8 years ago

Hi hprange,

Thanks a log for the great library and your work. Unfortunately, I have an issue with many-to-many relationship and it's not clear for me where the cause might be, since it works for real database, but not in tests.

Could you please clarify whether many-to-many (flatten) relationships should work as expected?

Thanks.

VboxNick commented 8 years ago

It works as expected! "ec.saveChanges()" was invoked multiple times, but if I do only one save per test - it works!

Thanks for your job!