Skip to content

Conversation

@miladev95
Copy link
Contributor

Add test for the JsonSchemaTypeFactory class.

New Tests:

Factory instance methods for all types (object, array, string, integer, number, boolean)
Object creation with properties array and closure
Static method calls via JsonSchema::*
Fluent API chaining with multiple constraints
Deeply nested object schemas
Array types with object items

These tests ensure the factory properly creates type instances and that the fluent API works correctly for complex schema definitions.

@taylorotwell
Copy link
Member

We already have pretty good tests for this components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants