Skip to content

Commit 92d16b5

Browse files
committed
Factory is now part of BaseConstraint
1 parent a6b130f commit 92d16b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Uri/UriRetrieverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private function mockRetriever($schema)
270270
{
271271
$retrieverMock = $this->getRetrieverMock($schema);
272272

273-
$factory = new \ReflectionProperty('JsonSchema\Constraints\Constraint', 'factory');
273+
$factory = new \ReflectionProperty('JsonSchema\Constraints\BaseConstraint', 'factory');
274274
$factory->setAccessible(true);
275275
$factory = $factory->getValue($this->validator);
276276

0 commit comments

Comments
 (0)