diff options
author | Aleksejs Sestakovs <aleksejs.sestakovs@zabbix.com> | 2021-05-08 17:53:49 +0300 |
---|---|---|
committer | Aleksejs Sestakovs <aleksejs.sestakovs@zabbix.com> | 2021-05-08 17:53:49 +0300 |
commit | 0d0764c0d7d90a5bdd7c1495d843cb710746e013 (patch) | |
tree | f0bee16528c2c9f8ee574f3a0ba4f0e3ded02f99 /ui | |
parent | fcccddd75d5a949156f1871cd32a8cfe806ed6bc (diff) |
........S. [ZBXNEXT-114] updated integration test to support new trigger expression syntax
Diffstat (limited to 'ui')
-rw-r--r-- | ui/tests/integration/testValuemaps.php | 2 |
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'])); |