@@ -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