File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
dev/tests/integration/framework/Magento/TestFramework/TestCase Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ abstract class AbstractBackendController extends \Magento\TestFramework\TestCase
34
34
*
35
35
* @var string
36
36
*/
37
- protected $ uri ;
37
+ protected $ uri = null ;
38
38
39
39
protected function setUp ()
40
40
{
@@ -88,12 +88,9 @@ public function assertSessionMessages(
88
88
89
89
public function testAclHasAccess ()
90
90
{
91
- if ($ this ->resource === null ) {
92
- $ this ->markTestIncomplete ('Acl test is not complete ' );
91
+ if ($ this ->uri === null ) {
92
+ $ this ->markTestIncomplete ('AclHasAccess test is not complete ' );
93
93
}
94
- $ this ->_objectManager ->get ('Magento\Framework\Acl\Builder ' )
95
- ->getAcl ()
96
- ->allow (null , $ this ->resource );
97
94
$ this ->dispatch ($ this ->uri );
98
95
$ this ->assertNotSame (403 , $ this ->getResponse ()->getHttpResponseCode ());
99
96
}
You can’t perform that action at this time.
0 commit comments