summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2019-03-26 01:54:33 +0100
committerGitHub <noreply@github.com>2019-03-26 01:54:33 +0100
commit3044326b4d0b7c20f6922e966c24f73359a7eea2 (patch)
tree3a21f085e4ca4d4dce1a8d178f4963de2b3f9e02 /test/integration
parentwin_environment: remove uneeded required_by entry in spec (#54369) (diff)
downloadansible-3044326b4d0b7c20f6922e966c24f73359a7eea2.tar.xz
ansible-3044326b4d0b7c20f6922e966c24f73359a7eea2.zip
win basic - do not warn on case insensitive matches (#54371)
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps118
1 files changed, 11 insertions, 7 deletions
diff --git a/test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps1 b/test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps1
index 124c87c180..15d15b2079 100644
--- a/test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps1
+++ b/test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps1
@@ -584,7 +584,8 @@ $tests = @{
option1 = 1
}
}
- warnings = @($expected_warnings)
+ # We have disabled the warning for now
+ #warnings = @($expected_warnings)
}
$actual | Assert-DictionaryEquals -Expected $expected
}
@@ -1779,8 +1780,9 @@ test_no_log - Invoked with:
$expected_warning += "Case insensitive matches were: ABC"
$output.invocation | Assert-DictionaryEquals -Expected @{module_args = @{option_key = "ABC"}}
- $output.warnings.Count | Assert-Equals -Expected 1
- $output.warnings[0] | Assert-Equals -Expected $expected_warning
+ # We have disabled the warnings for now
+ #$output.warnings.Count | Assert-Equals -Expected 1
+ #$output.warnings[0] | Assert-Equals -Expected $expected_warning
}
"Case insensitive choice no_log" = {
@@ -1807,8 +1809,9 @@ test_no_log - Invoked with:
$expected_warning += "Case insensitive matches were: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
$output.invocation | Assert-DictionaryEquals -Expected @{module_args = @{option_key = "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"}}
- $output.warnings.Count | Assert-Equals -Expected 1
- $output.warnings[0] | Assert-Equals -Expected $expected_warning
+ # We have disabled the warnings for now
+ #$output.warnings.Count | Assert-Equals -Expected 1
+ #$output.warnings[0] | Assert-Equals -Expected $expected_warning
}
"Case insentitive choice as list" = {
@@ -1836,8 +1839,9 @@ test_no_log - Invoked with:
$expected_warning += "Case insensitive matches were: AbC, jkl"
$output.invocation | Assert-DictionaryEquals -Expected @{module_args = $complex_args}
- $output.warnings.Count | Assert-Equals -Expected 1
- $output.warnings[0] | Assert-Equals -Expected $expected_warning
+ # We have disabled the warnings for now
+ #$output.warnings.Count | Assert-Equals -Expected 1
+ #$output.warnings[0] | Assert-Equals -Expected $expected_warning
}
"Invalid choice" = {