diff --git a/tests/SchemaStorageTest.php b/tests/SchemaStorageTest.php index 1ecfe0dd..fdf1c654 100644 --- a/tests/SchemaStorageTest.php +++ b/tests/SchemaStorageTest.php @@ -114,7 +114,7 @@ public function testUnresolvableJsonPointExceptionShouldBeThrown() $uriRetriever = $this->prophesize('JsonSchema\UriRetrieverInterface'); $uriRetriever->retrieve($mainSchemaPath) ->willReturn($mainSchema) - ->shouldBeCalled($mainSchema); + ->shouldBeCalled(); $schemaStorage = new SchemaStorage($uriRetriever->reveal()); $schemaStorage->resolveRef("$mainSchemaPath#/definitions/car");