summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/win_module_utils
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2019-04-10 07:30:38 +0200
committerJordan Borean <jborean93@gmail.com>2019-04-10 07:30:38 +0200
commit025e9afe58fd2688ed4978f4710c795fcfdfd912 (patch)
tree0c7bce4423c767d701d3340b36f6a5cf3d7f372f /test/integration/targets/win_module_utils
parentfacts: correctly detect xen paravirt vs hvm cpuinfo (#49320) (diff)
downloadansible-025e9afe58fd2688ed4978f4710c795fcfdfd912.tar.xz
ansible-025e9afe58fd2688ed4978f4710c795fcfdfd912.zip
Windows pslint: Re-enable PSPossibleIncorrectComparisonWithNull (#55065)
* pslint fixes * Fix up remaining sanity issues * now fix silly errors I made
Diffstat (limited to 'test/integration/targets/win_module_utils')
-rw-r--r--test/integration/targets/win_module_utils/library/sid_utils_test.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/win_module_utils/library/sid_utils_test.ps1 b/test/integration/targets/win_module_utils/library/sid_utils_test.ps1
index baf891e111..eb376c81d5 100644
--- a/test/integration/targets/win_module_utils/library/sid_utils_test.ps1
+++ b/test/integration/targets/win_module_utils/library/sid_utils_test.ps1
@@ -46,7 +46,7 @@ $tests = @(
)
# Add domain tests if the domain name has been set
-if ($test_domain -ne $null) {
+if ($null -ne $test_domain) {
Import-Module ActiveDirectory
$domain_info = Get-ADDomain -Identity $test_domain
$domain_sid = $domain_info.DomainSID