Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
AbstractActionTest Class Reference
Inheritance diagram for AbstractActionTest:
AbstractBackendController AbstractController

Public Member Functions

 nodesWithAcl ()
 
- Public Member Functions inherited from AbstractBackendController
 assertSessionMessages (\PHPUnit\Framework\Constraint\Constraint $constraint, $messageType=null, $messageManagerClass=\Magento\Framework\Message\Manager::class)
 
 testAclHasAccess ()
 
 testAclNoAccess ()
 
- Public Member Functions inherited from AbstractController
 getRequest ()
 
 getResponse ()
 
 assert404NotFound ()
 
 assertHeaderPcre ($headerName, $valueRegex)
 
 assertRedirect (\PHPUnit\Framework\Constraint\Constraint $urlConstraint=null)
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractBackendController
 setUp ()
 
 _getAdminCredentials ()
 
 tearDown ()
 
- Protected Member Functions inherited from AbstractController
 _getBootstrap ()
 
 setUp ()
 
 tearDown ()
 
 assertPostConditions ()
 
 getMessages ( $messageType=null, $messageManagerClass=\Magento\Framework\Message\Manager::class)
 
- Protected Attributes inherited from AbstractBackendController
 $_session
 
 $_auth
 
 $resource = null
 
 $uri = null
 
 $httpMethod
 
- Protected Attributes inherited from AbstractController
 $_runCode = ''
 
 $_runScope = 'store'
 
 $_runOptions = []
 
 $_request
 
 $_response
 
 $_objectManager
 
 $_assertSessionErrors = false
 

Detailed Description

Test class for \Magento\Backend\App\AbstractAction. @magentoAppArea adminhtml

Definition at line 12 of file AbstractActionTest.php.

Member Function Documentation

◆ nodesWithAcl()

nodesWithAcl ( )

Data provider with expected blocks with acl properties

Returns
array

Definition at line 117 of file AbstractActionTest.php.

118  {
119  return [
120  ['notification_window', 'Magento_AdminNotification::show_toolbar', true],
121  ['notification_window', 'Magento_AdminNotification::show_toolbar', false]
122  ];
123  }

The documentation for this class was generated from the following file: