Skip to content

Commit 65f9223

Browse files
committed
[Agent][Firecrawl] Remove firecrawl- prefix from fixture files
Simplify fixture file naming by removing the firecrawl- prefix since the files are already in a Firecrawl-specific directory.
1 parent 9e4e65f commit 65f9223

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

src/agent/src/Bridge/Firecrawl/Tests/FirecrawlTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class FirecrawlTest extends TestCase
2121
public function testScrape()
2222
{
2323
$httpClient = new MockHttpClient([
24-
JsonMockResponse::fromFile(__DIR__.'/fixtures/firecrawl-scrape.json'),
24+
JsonMockResponse::fromFile(__DIR__.'/fixtures/scrape.json'),
2525
]);
2626

2727
$firecrawl = new Firecrawl($httpClient, 'test', 'https://127.0.0.1:3002');
@@ -37,10 +37,10 @@ public function testScrape()
3737
public function testCrawl()
3838
{
3939
$httpClient = new MockHttpClient([
40-
JsonMockResponse::fromFile(__DIR__.'/fixtures/firecrawl-crawl-wait.json'),
41-
JsonMockResponse::fromFile(__DIR__.'/fixtures/firecrawl-crawl-status.json'),
42-
JsonMockResponse::fromFile(__DIR__.'/fixtures/firecrawl-crawl-status-done.json'),
43-
JsonMockResponse::fromFile(__DIR__.'/fixtures/firecrawl-crawl.json'),
40+
JsonMockResponse::fromFile(__DIR__.'/fixtures/crawl-wait.json'),
41+
JsonMockResponse::fromFile(__DIR__.'/fixtures/crawl-status.json'),
42+
JsonMockResponse::fromFile(__DIR__.'/fixtures/crawl-status-done.json'),
43+
JsonMockResponse::fromFile(__DIR__.'/fixtures/crawl.json'),
4444
]);
4545

4646
$firecrawl = new Firecrawl($httpClient, 'test', 'https://127.0.0.1:3002');
@@ -60,7 +60,7 @@ public function testCrawl()
6060
public function testMap()
6161
{
6262
$httpClient = new MockHttpClient([
63-
JsonMockResponse::fromFile(__DIR__.'/fixtures/firecrawl-map.json'),
63+
JsonMockResponse::fromFile(__DIR__.'/fixtures/map.json'),
6464
]);
6565

6666
$firecrawl = new Firecrawl($httpClient, 'test', 'https://127.0.0.1:3002');

0 commit comments

Comments
 (0)