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/selenium/items/testInheritanceItemPrototype.php')
-rw-r--r--ui/tests/selenium/items/testInheritanceItemPrototype.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/tests/selenium/items/testInheritanceItemPrototype.php b/ui/tests/selenium/items/testInheritanceItemPrototype.php
index 19e0689ac59..95046f2464c 100644
--- a/ui/tests/selenium/items/testInheritanceItemPrototype.php
+++ b/ui/tests/selenium/items/testInheritanceItemPrototype.php
@@ -69,16 +69,18 @@ class testInheritanceItemPrototype extends CLegacyWebTest {
[
'expected' => TEST_GOOD,
'name' => 'testInheritanceItemPrototype6',
- 'key' => 'item-prototype-test6'
+ 'key' => 'item-prototype-test6[{#KEY}]'
]
],
[
[
'expected' => TEST_BAD,
'name' => 'testInheritanceItemPrototype5',
- 'key' => 'item-prototype-test5',
+ 'key' => 'item-prototype-test5[{#KEY}]',
'errors' => [
- 'Item prototype "item-prototype-test5" already exists on "Template inheritance test host", inherited from another template'
+ 'Cannot inherit item prototype with key "item-prototype-test5[{#KEY}]" of template '.
+ '"Inheritance test template" to host "Template inheritance test host", because an item '.
+ 'with the same key is already inherited from template "Inheritance test template 2".'
]
]
]