fix get by text id impl
This commit is contained in:
parent
a606ceadaa
commit
bd2679f258
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class FakeNodeRepository implements NodeRepository
|
||||||
return array_filter(
|
return array_filter(
|
||||||
$this->existingNodes,
|
$this->existingNodes,
|
||||||
function (Node $node) use ($id) {
|
function (Node $node) use ($id) {
|
||||||
return $node->getId() === $id;
|
return $node->getText()->getId() === $id;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue