22
33namespace Binaryk \LaravelRestify \Tests \Fields ;
44
5- use Binaryk \LaravelRestify \Fields \BelongsTo ;
65use Binaryk \LaravelRestify \Fields \Field ;
7- use Binaryk \LaravelRestify \Fields \File ;
8- use Binaryk \LaravelRestify \Fields \HasMany ;
9- use Binaryk \LaravelRestify \MCP \Concerns \FieldMcpSchemaDetection ;
106use Binaryk \LaravelRestify \Tests \Fixtures \Post \PostRepository ;
117use Binaryk \LaravelRestify \Tests \IntegrationTestCase ;
128use Laravel \Mcp \Server \Tools \ToolInputSchema ;
@@ -23,7 +19,7 @@ protected function tearDown(): void
2319 public function test_resolve_tool_schema_with_default_implementation (): void
2420 {
2521 $ schema = Mockery::mock (ToolInputSchema::class);
26- $ repository = new PostRepository () ;
22+ $ repository = new PostRepository ;
2723
2824 $ schema ->shouldReceive ('string ' )->with ('title ' )->once ()->andReturnSelf ();
2925 $ schema ->shouldReceive ('description ' )->with ('Field: title (type: string). Examples: Sample Title, My Title ' )->once ()->andReturnSelf ();
@@ -37,7 +33,7 @@ public function test_resolve_tool_schema_with_default_implementation(): void
3733 public function test_resolve_tool_schema_with_required_field (): void
3834 {
3935 $ schema = Mockery::mock (ToolInputSchema::class);
40- $ repository = new PostRepository () ;
36+ $ repository = new PostRepository ;
4137
4238 $ schema ->shouldReceive ('string ' )->with ('title ' )->once ()->andReturnSelf ();
4339 $ schema ->shouldReceive ('description ' )->once ()->andReturnSelf ();
@@ -52,7 +48,7 @@ public function test_resolve_tool_schema_with_required_field(): void
5248 public function test_resolve_tool_schema_with_custom_callback (): void
5349 {
5450 $ schema = Mockery::mock (ToolInputSchema::class);
55- $ repository = new PostRepository () ;
51+ $ repository = new PostRepository ;
5652 $ callbackCalled = false ;
5753
5854 $ field = $ this ->createTestField ('title ' );
0 commit comments