Skip to content

Commit

Permalink
Fix fake extension to not fail tests and be compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Jul 24, 2020
1 parent 23211ba commit 1f4266e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tests/unit/Foundation/ExtensionDependencyResolutionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,16 @@ public function works_with_circular_dependencies()
class FakeExtension
{
protected $id;
protected $dependencies;
public $dependencies;

public function __construct($id, $dependencies)
public function __construct($id, $extensionDependencies)
{
$this->id = $id;
$this->dependencies = $dependencies;
$this->extensionDependencies = $extensionDependencies;
}

public function getId()
{
return $this->id;
}

public function getFlarumExtensionDependencies()
{
return $this->dependencies;
}
}

0 comments on commit 1f4266e

Please sign in to comment.