Closed jnury closed 6 years ago
The ComplexObjectsEqual sometimes generate a false positive in detecting differences where there is not.
It occurs mainly when adding new user/group to an existing endpoint.
The problem is that order of keys in a hashtable is not garanteed. And the ComplexObjectsEqual only use ConvertTo-Json to compare 2 hashtables.
I'll PR a tested fix for that ;-)
PR submitted :-)
Hello @rpsqrd, have-you been able to have a look at PR #47 ?
Fixed by PR #57
The ComplexObjectsEqual sometimes generate a false positive in detecting differences where there is not.
It occurs mainly when adding new user/group to an existing endpoint.
The problem is that order of keys in a hashtable is not garanteed. And the ComplexObjectsEqual only use ConvertTo-Json to compare 2 hashtables.
I'll PR a tested fix for that ;-)