You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to 0.0.79 (from 0.0.78), several tests are now failing, even though the Found value meets the testing criteria.
For example:
Expected value (Less Or Equal): 4000, Found value: 469.07
Expected value (Less Than): 7/7/2022 4:01:19 AM, Found value: 1/3/2022 6:02:33 AM
Expected value (Less Or Equal): 0, Found value: -184
if ($TestedValue.GetType().BaseType.Name -eq'ValueType') {
$TestedValue=$TestedValue.ToString()
}
...causes the following tests (which use ExpectedValue instead of ExpectedCount) to fail in certain cases because they're being compared as strings instead of their native types:
After upgrading to 0.0.79 (from 0.0.78), several tests are now failing, even though the Found value meets the testing criteria.
For example:
This change...
Testimo/Private/Test-StepTwo.ps1
Lines 43 to 45 in 6a070fb
...causes the following tests (which use
ExpectedValue
instead ofExpectedCount
) to fail in certain cases because they're being compared as strings instead of their native types:Testimo/Private/SourcesDomainControllers/Ldap.ps1
Lines 108 to 121 in 4c40f98
Testimo/Private/SourcesDomainControllers/Ldap.ps1
Lines 136 to 149 in 4c40f98
Testimo/Private/SourcesDomainControllers/EventLogs.ps1
Lines 113 to 122 in 4c40f98
All of them have basetypes of
ValueType
:There may be more tests with this issue, they're just not failing in my environment.
The text was updated successfully, but these errors were encountered: