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 2424class DeleteTest extends AbstractBackendController
2525{
2626 /** @var GetBlockByIdentifierInterface */
27- private $ getBlockByIdentifierInterface ;
27+ private $ getBlockByIdentifier ;
2828
2929 /** @var StoreManagerInterface */
3030 private $ storeManager ;
@@ -39,7 +39,7 @@ protected function setUp(): void
3939 {
4040 parent ::setUp ();
4141
42- $ this ->getBlockByIdentifierInterface = $ this ->_objectManager ->get (GetBlockByIdentifierInterface::class);
42+ $ this ->getBlockByIdentifier = $ this ->_objectManager ->get (GetBlockByIdentifierInterface::class);
4343 $ this ->storeManager = $ this ->_objectManager ->get (StoreManagerInterface::class);
4444 $ this ->collectionFactory = $ this ->_objectManager ->get (CollectionFactory::class);
4545 }
@@ -52,7 +52,7 @@ protected function setUp(): void
5252 public function testDeleteBlock (): void
5353 {
5454 $ 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 ();
5656 $ this ->getRequest ()->setMethod (Http::METHOD_POST )
5757 ->setParams (['block_id ' => $ blockId ]);
5858 $ this ->dispatch ('backend/cms/block/delete ' );
You can’t perform that action at this time.
0 commit comments