Skip to content

Commit a857fa4

Browse files
committed
test: remove unnecessary tinker test
All of boost doesn't run in a non-local environment
1 parent e5926e9 commit a857fa4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/Feature/Mcp/Tools/TinkerTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,6 @@ function getToolResultData(ToolResult $result): array
151151
expect($tool->shouldRegister())->toBeTrue();
152152
});
153153

154-
test('should not register in non-local environment', function () {
155-
$tool = new Tinker;
156-
157-
// Test in production environment
158-
app()->detectEnvironment(function () {
159-
return 'production';
160-
});
161-
162-
expect($tool->shouldRegister())->toBeFalse();
163-
});
164-
165154
test('uses custom timeout parameter', function () {
166155
$tool = new Tinker;
167156
$result = $tool->handle(['code' => 'return 2 + 2;', 'timeout' => 10]);

0 commit comments

Comments
 (0)