Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

style(php-sdk): drop remaining test comments

Kris Oeif1fadeacf6d9
diff --git a/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.php b/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.php
index 9b613d24e..3b909060e 100644
--- a/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.php
+++ b/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.php
@@ -11,9 +11,7 @@ use Laravel\Ai\Tools\Request;
it('crawls a site and returns pages as JSON', function (): void {
$history = new ArrayObject();
$client = fakeFirecrawlClient([
- // POST /v2/crawl: start the job
new Response(200, [], json_encode(['success' => true, 'id' => 'job-1'])),
- // GET /v2/crawl/job-1: first poll, already completed
new Response(200, [], json_encode([
'success' => true,
'status' => 'completed',
@@ -77,7 +75,6 @@ it('reports a friendly message when the crawl exceeds its own timeout', function
])),
]);
- // Override the wait so the test does not sleep for the production timeout.
$tool = new class ($client) extends FirecrawlCrawl {
protected int $timeoutSeconds = 1;
};