Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ui/tests/api_json/testIconMap.php')
-rw-r--r--ui/tests/api_json/testIconMap.php20
1 files changed, 3 insertions, 17 deletions
diff --git a/ui/tests/api_json/testIconMap.php b/ui/tests/api_json/testIconMap.php
index fc9ec09d4f3..5c61f3667eb 100644
--- a/ui/tests/api_json/testIconMap.php
+++ b/ui/tests/api_json/testIconMap.php
@@ -466,21 +466,7 @@ class testIconMap extends CAPITest {
]],
[[
'iconmap' => [
- 'name' => 'invalid regular expression',
- 'default_iconid' => '2',
- 'mappings' =>[
- [
- 'inventory_link' => '2',
- 'expression' => '\//',
- 'iconid' => '1'
- ]
- ]
- ],
- 'expected_error' => 'Invalid parameter "/1/mappings/1/expression": invalid regular expression.'
- ]],
- [[
- 'iconmap' => [
- 'name' => 'invalid regular expression',
+ 'name' => 'invalid regular expression 1',
'default_iconid' => '2',
'mappings' =>[
[
@@ -494,7 +480,7 @@ class testIconMap extends CAPITest {
]],
[[
'iconmap' => [
- 'name' => 'invalid regular expression',
+ 'name' => 'invalid regular expression 2',
'default_iconid' => '2',
'mappings' =>[
[
@@ -508,7 +494,7 @@ class testIconMap extends CAPITest {
]],
[[
'iconmap' => [
- 'name' => 'invalid regular expression',
+ 'name' => 'invalid regular expression 3',
'default_iconid' => '2',
'mappings' =>[
[