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/unit/include/classes/import/CImportDataAdapterTest.php')
-rw-r--r--ui/tests/unit/include/classes/import/CImportDataAdapterTest.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/ui/tests/unit/include/classes/import/CImportDataAdapterTest.php b/ui/tests/unit/include/classes/import/CImportDataAdapterTest.php
index d861b817d56..1119ecabcb7 100644
--- a/ui/tests/unit/include/classes/import/CImportDataAdapterTest.php
+++ b/ui/tests/unit/include/classes/import/CImportDataAdapterTest.php
@@ -980,7 +980,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -1030,7 +1029,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -1080,7 +1078,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [
[
'tag' => 'Application',
@@ -1385,7 +1382,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -1435,7 +1431,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -1485,7 +1480,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [
[
'tag' => 'Application',
@@ -3196,7 +3190,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -3298,7 +3291,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -3400,7 +3392,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -3994,7 +3985,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -4096,7 +4086,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -4198,7 +4187,6 @@ class CImportDataAdapterTest extends TestCase {
'publickey' => '',
'privatekey' => '',
'description' => '',
- 'inventory_link' => '0',
'tags' => [],
'valuemap' => [],
'logtimefmt' => '',
@@ -4291,9 +4279,7 @@ class CImportDataAdapterTest extends TestCase {
->setStrict(true)
->validate($source, '/');
- $versions = ['1.0', '2.0', '3.0', '3.2', '3.4', '4.0', '4.2', '4.4', '5.0', '5.2', '5.4', '6.0', '6.2'];
-
- foreach ($versions as $version) {
+ foreach ($import_converter_factory::getSequentialVersions() as $version) {
if ($source['zabbix_export']['version'] !== $version) {
continue;
}