We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5926e9 commit a857fa4Copy full SHA for a857fa4
tests/Feature/Mcp/Tools/TinkerTest.php
@@ -151,17 +151,6 @@ function getToolResultData(ToolResult $result): array
151
expect($tool->shouldRegister())->toBeTrue();
152
});
153
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
165
test('uses custom timeout parameter', function () {
166
$tool = new Tinker;
167
$result = $tool->handle(['code' => 'return 2 + 2;', 'timeout' => 10]);
0 commit comments