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:
authorSergejs Olonkins <sergejs.olonkins@zabbix.com>2022-02-24 12:59:29 +0300
committerSergejs Olonkins <sergejs.olonkins@zabbix.com>2022-02-24 12:59:29 +0300
commit0c0fd3233abd89b9148ecc76b3293786fb678cb9 (patch)
tree9741b127d118f59121c8f76467ac187f61642dbb
parent9ba47739b3dd0d8cc1316a5c5a80dda271cebd6e (diff)
.......... [ZBXNEXT-686] fixed minor issues in autotests after latest template build
-rw-r--r--ui/tests/selenium/testFormTemplate.php4
-rw-r--r--ui/tests/selenium/testPageLowLevelDiscovery.php2
2 files changed, 2 insertions, 4 deletions
diff --git a/ui/tests/selenium/testFormTemplate.php b/ui/tests/selenium/testFormTemplate.php
index e03a56cebda..ec547dcecab 100644
--- a/ui/tests/selenium/testFormTemplate.php
+++ b/ui/tests/selenium/testFormTemplate.php
@@ -257,7 +257,7 @@ class testFormTemplate extends CLegacyWebTest {
$this->assertEquals(1, CDBHelper::getCount("SELECT hostid FROM hosts WHERE host='$this->template_clone'"));
$template = CDBHelper::getRow("select hostid from hosts where host like '".$cloned_template_name."'");
- $this->assertEquals(66, CDBHelper::getCount("SELECT itemid FROM items WHERE hostid='".$template['hostid']."'"));
+ $this->assertEquals(67, CDBHelper::getCount("SELECT itemid FROM items WHERE hostid='".$template['hostid']."'"));
$this->assertEquals(0, CDBHelper::getCount("SELECT dashboardid FROM dashboard WHERE templateid='".$template['hostid']."'"));
}
@@ -279,7 +279,7 @@ class testFormTemplate extends CLegacyWebTest {
$this->assertEquals(1, CDBHelper::getCount("SELECT hostid FROM hosts WHERE host='$this->template_clone'"));
$template = CDBHelper::getRow("select hostid from hosts where host like '".$cloned_template_name."'");
- $this->assertEquals(66, CDBHelper::getCount("SELECT itemid FROM items WHERE hostid='".$template['hostid']."'"));
+ $this->assertEquals(67, CDBHelper::getCount("SELECT itemid FROM items WHERE hostid='".$template['hostid']."'"));
$this->assertEquals(1, CDBHelper::getCount("SELECT dashboardid FROM dashboard WHERE templateid='".$template['hostid']."'"));
}
diff --git a/ui/tests/selenium/testPageLowLevelDiscovery.php b/ui/tests/selenium/testPageLowLevelDiscovery.php
index de47de3cdc7..eb267c7ad42 100644
--- a/ui/tests/selenium/testPageLowLevelDiscovery.php
+++ b/ui/tests/selenium/testPageLowLevelDiscovery.php
@@ -408,8 +408,6 @@ class testPageLowLevelDiscovery extends CWebTest {
],
'expected' => [
'Linux block devices by Zabbix agent: Block devices discovery',
- // TODO: remove this template when ZBX-20499 is fixed
- 'Zabbix server health: Zabbix stats cluster: High availability cluster node discovery',
'Linux filesystems by Zabbix agent: Mounted filesystem discovery',
'Linux network interfaces by Zabbix agent: Network interface discovery'
]