File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev/tests/integration/testsuite/Magento/Cms/Controller/Adminhtml/Block Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 24
24
class DeleteTest extends AbstractBackendController
25
25
{
26
26
/** @var GetBlockByIdentifierInterface */
27
- private $ getBlockByIdentifierInterface ;
27
+ private $ getBlockByIdentifier ;
28
28
29
29
/** @var StoreManagerInterface */
30
30
private $ storeManager ;
@@ -39,7 +39,7 @@ protected function setUp(): void
39
39
{
40
40
parent ::setUp ();
41
41
42
- $ this ->getBlockByIdentifierInterface = $ this ->_objectManager ->get (GetBlockByIdentifierInterface::class);
42
+ $ this ->getBlockByIdentifier = $ this ->_objectManager ->get (GetBlockByIdentifierInterface::class);
43
43
$ this ->storeManager = $ this ->_objectManager ->get (StoreManagerInterface::class);
44
44
$ this ->collectionFactory = $ this ->_objectManager ->get (CollectionFactory::class);
45
45
}
@@ -52,7 +52,7 @@ protected function setUp(): void
52
52
public function testDeleteBlock (): void
53
53
{
54
54
$ defaultStoreId = (int )$ this ->storeManager ->getStore ('default ' )->getId ();
55
- $ blockId = $ this ->getBlockByIdentifierInterface ->execute ('default_store_block ' , $ defaultStoreId )->getId ();
55
+ $ blockId = $ this ->getBlockByIdentifier ->execute ('default_store_block ' , $ defaultStoreId )->getId ();
56
56
$ this ->getRequest ()->setMethod (Http::METHOD_POST )
57
57
->setParams (['block_id ' => $ blockId ]);
58
58
$ this ->dispatch ('backend/cms/block/delete ' );
You can’t perform that action at this time.
0 commit comments