Skip to content

Commit b85ba43

Browse files
fix integration tests
1 parent 62f2e60 commit b85ba43

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dev/tests/integration/testsuite/Magento/Eav/Model/ConfigTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ public function testGetAttributeWithCacheUserDefinedAttribute()
149149
$config = Bootstrap::getObjectManager()->create(\Magento\Eav\Model\Config::class);
150150
$updatedAttribute = $config->getAttribute($entityType, 'foo');
151151
$this->assertEquals('foo', $updatedAttribute->getFrontendLabel());
152+
CacheCleaner::clean(['eav']);
152153
$config = Bootstrap::getObjectManager()->create(\Magento\Eav\Model\Config::class);
153154
// Check that attribute data has changed
154155
$updatedAttributeAfterCacheClean = $config->getAttribute($entityType, 'foo');

dev/tests/integration/testsuite/Magento/ReleaseNotification/Controller/Adminhtml/Dashboard/IndexTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ protected function setUp(): void
3434
protected function tearDown(): void
3535
{
3636
$this->objectManager->removeSharedInstance(ContentProviderInterface::class);
37+
CacheCleaner::clean(['layout']);
3738
parent::tearDown();
3839
}
3940

0 commit comments

Comments
 (0)