@@ -28,10 +28,10 @@ public function testScrape()
2828
2929 $ scrapingResult = $ firecrawl ->scrape ('https://www.symfony.com ' );
3030
31- self :: assertSame ('https://www.symfony.com ' , $ scrapingResult ['url ' ]);
32- self :: assertNotEmpty ($ scrapingResult ['markdown ' ]);
33- self :: assertNotEmpty ($ scrapingResult ['html ' ]);
34- self :: assertSame (1 , $ httpClient ->getRequestsCount ());
31+ $ this -> assertSame ('https://www.symfony.com ' , $ scrapingResult ['url ' ]);
32+ $ this -> assertNotEmpty ($ scrapingResult ['markdown ' ]);
33+ $ this -> assertNotEmpty ($ scrapingResult ['html ' ]);
34+ $ this -> assertSame (1 , $ httpClient ->getRequestsCount ());
3535 }
3636
3737 public function testCrawl ()
@@ -47,14 +47,14 @@ public function testCrawl()
4747
4848 $ scrapingResult = $ firecrawl ->crawl ('https://www.symfony.com ' );
4949
50- self :: assertCount (1 , $ scrapingResult );
51- self :: assertNotEmpty ($ scrapingResult [0 ]);
50+ $ this -> assertCount (1 , $ scrapingResult );
51+ $ this -> assertNotEmpty ($ scrapingResult [0 ]);
5252
5353 $ firstItem = $ scrapingResult [0 ];
54- self :: assertSame ('https://www.symfony.com ' , $ firstItem ['url ' ]);
55- self :: assertNotEmpty ($ firstItem ['markdown ' ]);
56- self :: assertNotEmpty ($ firstItem ['html ' ]);
57- self :: assertSame (4 , $ httpClient ->getRequestsCount ());
54+ $ this -> assertSame ('https://www.symfony.com ' , $ firstItem ['url ' ]);
55+ $ this -> assertNotEmpty ($ firstItem ['markdown ' ]);
56+ $ this -> assertNotEmpty ($ firstItem ['html ' ]);
57+ $ this -> assertSame (4 , $ httpClient ->getRequestsCount ());
5858 }
5959
6060 public function testMap ()
@@ -67,8 +67,8 @@ public function testMap()
6767
6868 $ mapping = $ firecrawl ->map ('https://www.symfony.com ' );
6969
70- self :: assertSame ('https://www.symfony.com ' , $ mapping ['url ' ]);
71- self :: assertCount (5 , $ mapping ['links ' ]);
72- self :: assertSame (1 , $ httpClient ->getRequestsCount ());
70+ $ this -> assertSame ('https://www.symfony.com ' , $ mapping ['url ' ]);
71+ $ this -> assertCount (5 , $ mapping ['links ' ]);
72+ $ this -> assertSame (1 , $ httpClient ->getRequestsCount ());
7373 }
7474}
0 commit comments