fyziktom / VirtualEconomyFramework

Framework for economy applications
https://veframework.com/
MIT License
24 stars 7 forks source link

Correcting withCoppies checkbox #92

Closed VenkataRoundSqr closed 2 years ago

VenkataRoundSqr commented 2 years ago

Replaced the count property 'number of coppies' with 'withCheckbox' check to correct the checkbox value whether it is checked or not.

fyziktom commented 2 years ago

I have repaired unit tests. it used to failed when it runs in batch. It was caused by cache in the NeblioTransactionHelpers. When the cache was on and all tests starts those who starts little later usually took the data of the first ones, because the data was already in the cache after first request even with the Moq.

Now it is possible to turn off the cache in the NeblioTransactionHelpersClass. It was necessary to add turn off the cache to all test classes constructor.