Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peldax committed Mar 31, 2023
1 parent 2d1a1b2 commit e5e7642
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/TestDIContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ public static function getType(string $name) : object
'objectConstraint' => new \Graphpinator\ConstraintDirectives\ObjectConstraintDirective(
self::getAccessor(),
),
'ObjectConstraintInput' => new \Graphpinator\ConstraintDirectives\ObjectConstraintInput(
self::getAccessor(),
),
'stringWhere' => new \Graphpinator\WhereDirectives\StringWhereDirective(),
'intWhere' => new \Graphpinator\WhereDirectives\IntWhereDirective(),
'floatWhere' => new \Graphpinator\WhereDirectives\FloatWhereDirective(),
Expand Down Expand Up @@ -98,6 +101,11 @@ public function getObject() : \Graphpinator\ConstraintDirectives\ObjectConstrain
{
return TestDIContainer::getType('objectConstraint');
}

public function getObjectInput() : \Graphpinator\ConstraintDirectives\ObjectConstraintInput
{
return TestDIContainer::getType('ObjectConstraintInput');
}
};
}

Expand Down

0 comments on commit e5e7642

Please sign in to comment.