Reverting Snapshots commits at the end of UTs#1343
Conversation
|
I think the problem is |
|
I think the problem is with neo/tests/neo.UnitTests/Wallets/UT_Wallet.cs Lines 102 to 106 in f435443 I think it is correct to use this in |
|
I agree, @erikzhang, that DI could solve this in a more beautiful way. However, even nowadays, it is possible to handle that. We should not have tests that are finishing with a modified status different than the original. Thus, perhaps, until DI is not implemented we should fix the tests that are doing such behavior. |
There are still other places to be reverted,
@ixje @shargon @erikzhang,
Take at look at this example and, if correct, we may create a function on Tests Utils, for avoiding duplicating the code on every case it happens.