Skip to content

Commit 9dad46d

Browse files
author
Volodymyr Zaets
committed
MAGETWO-50158: [UI Component] Dynamic Rows Tables: add pagination support
- fix test
1 parent 495642b commit 9dad46d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

dev/tests/integration/testsuite/Magento/Customer/Model/AddressMetadataTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,13 @@ public function testGetAttributes()
9797
$this->assertEquals('static', $attributeMetadata->getBackendType(), 'Backend type is invalid');
9898
$this->assertEquals('Company', $attributeMetadata->getFrontendLabel(), 'Frontend label is invalid');
9999
}
100+
101+
protected function tearDown()
102+
{
103+
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
104+
105+
/* @var \Magento\Framework\Config\CacheInterface $cache */
106+
$cache = $objectManager->create('Magento\Framework\Config\CacheInterface');
107+
$cache->remove('extension_attributes_config');
108+
}
100109
}

dev/tests/integration/testsuite/Magento/Customer/Model/CustomerMetadataTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,13 @@ public function testGetAttributes()
172172
$this->assertEquals('1', $attributeMetadata->isSystem(), '"Is system" field value is invalid');
173173
$this->assertEquals('40', $attributeMetadata->getSortOrder(), 'Sort order is invalid');
174174
}
175+
176+
protected function tearDown()
177+
{
178+
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
179+
180+
/* @var \Magento\Framework\Config\CacheInterface $cache */
181+
$cache = $objectManager->create('Magento\Framework\Config\CacheInterface');
182+
$cache->remove('extension_attributes_config');
183+
}
175184
}

0 commit comments

Comments
 (0)