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
path: root/ui
diff options
context:
space:
mode:
authorAleksejs Sestakovs <aleksejs.sestakovs@zabbix.com>2021-05-08 17:53:49 +0300
committerAleksejs Sestakovs <aleksejs.sestakovs@zabbix.com>2021-05-08 17:53:49 +0300
commit0d0764c0d7d90a5bdd7c1495d843cb710746e013 (patch)
treef0bee16528c2c9f8ee574f3a0ba4f0e3ded02f99 /ui
parentfcccddd75d5a949156f1871cd32a8cfe806ed6bc (diff)
........S. [ZBXNEXT-114] updated integration test to support new trigger expression syntax
Diffstat (limited to 'ui')
-rw-r--r--ui/tests/integration/testValuemaps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tests/integration/testValuemaps.php b/ui/tests/integration/testValuemaps.php
index 14000e5c3a8..dc38f9ff418 100644
--- a/ui/tests/integration/testValuemaps.php
+++ b/ui/tests/integration/testValuemaps.php
@@ -275,7 +275,7 @@ class testValuemaps extends CIntegrationTest {
$response = $this->call('trigger.create', [
'description' => ' {ITEM.VALUE}',
- 'expression' => 'last('.self::HOST_NAME.'/'.self::ITEM_NAME.')='.$inputData
+ 'expression' => 'last(/'.self::HOST_NAME.'/'.self::ITEM_NAME.')='.$inputData
]);
$this->assertArrayHasKey('triggerids', $response['result']);
$this->assertEquals(1, count($response['result']['triggerids']));