File tree 2 files changed +2
-0
lines changed
dev/tests/integration/testsuite/Magento
ReleaseNotification/Controller/Adminhtml/Dashboard
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ public function testGetAttributeWithCacheUserDefinedAttribute()
149
149
$ config = Bootstrap::getObjectManager ()->create (\Magento \Eav \Model \Config::class);
150
150
$ updatedAttribute = $ config ->getAttribute ($ entityType , 'foo ' );
151
151
$ this ->assertEquals ('foo ' , $ updatedAttribute ->getFrontendLabel ());
152
+ CacheCleaner::clean (['eav ' ]);
152
153
$ config = Bootstrap::getObjectManager ()->create (\Magento \Eav \Model \Config::class);
153
154
// Check that attribute data has changed
154
155
$ updatedAttributeAfterCacheClean = $ config ->getAttribute ($ entityType , 'foo ' );
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ protected function setUp(): void
34
34
protected function tearDown (): void
35
35
{
36
36
$ this ->objectManager ->removeSharedInstance (ContentProviderInterface::class);
37
+ CacheCleaner::clean (['layout ' ]);
37
38
parent ::tearDown ();
38
39
}
39
40
You can’t perform that action at this time.
0 commit comments