Commit c674f626 authored by catch's avatar catch
Browse files

Issue #3106222 by Hardik_Patel_12, longwave: Unused variable $extensions in...

Issue #3106222 by Hardik_Patel_12, longwave: Unused variable $extensions in PermissionHandlerTest.php file
parent fe4693f9
......@@ -125,11 +125,6 @@ public function testBuildPermissionsYaml() {
EOF
);
$modules = ['module_a', 'module_b', 'module_c'];
$extensions = [
'module_a' => $this->mockModuleExtension('module_a', 'Module a'),
'module_b' => $this->mockModuleExtension('module_b', 'Module b'),
'module_c' => $this->mockModuleExtension('module_c', 'Module c'),
];
$this->moduleHandler->expects($this->any())
->method('getImplementations')
->with('permission')
......@@ -252,11 +247,6 @@ public function testBuildPermissionsYamlCallback() {
);
$modules = ['module_a', 'module_b', 'module_c'];
$extensions = [
'module_a' => $this->mockModuleExtension('module_a', 'Module a'),
'module_b' => $this->mockModuleExtension('module_b', 'Module b'),
'module_c' => $this->mockModuleExtension('module_c', 'Module c'),
];
$this->moduleHandler->expects($this->any())
->method('getImplementations')
......@@ -317,9 +307,6 @@ public function testPermissionsYamlStaticAndCallback() {
);
$modules = ['module_a'];
$extensions = [
'module_a' => $this->mockModuleExtension('module_a', 'Module a'),
];
$this->moduleHandler->expects($this->any())
->method('getImplementations')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment