mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix dependency retrieval in DependencyTest.php
This commit is contained in:
parent
f67b6649cb
commit
82ba61a31f
@ -104,7 +104,7 @@ class DependencyTest extends TestCase
|
||||
$errors = [];
|
||||
|
||||
foreach ($steps as $step) {
|
||||
$dependent = $dependencies[$step] ?? [];
|
||||
$dependent = $dependencies[$step]['dependencies'] ?? [];
|
||||
|
||||
foreach ($dependent as $dependency) {
|
||||
if (in_array($dependency, $steps) && $step_order[$dependency] > $step_order[$step]) {
|
||||
|
Loading…
Reference in New Issue
Block a user