Skip to content

Commit 779e304

Browse files
committed
Rename fixtures folders to Fixtures to match Symfony standard
1 parent b707e18 commit 779e304

38 files changed

+46
-46
lines changed

fixtures/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
For testing multi-modal features, the repository contains binary media content, with the following owners and licenses:
44

5-
* `tests/Fixture/accordion.jpg`: Jefferson Lucena, Creative Commons, see [pexels.com](https://www.pexels.com/photo/man-playing-accordion-10153219/)
6-
* `tests/Fixture/audio.mp3`: davidbain, Creative Commons, see [freesound.org](https://freesound.org/people/davidbain/sounds/136777/)
7-
* `tests/Fixture/document.pdf`: Chem8240ja, Public Domain, see [Wikipedia](https://en.m.wikipedia.org/wiki/File:Re_example.pdf)
8-
* `tests/Fixture/image.jpg`: Chris F., Creative Commons, see [pexels.com](https://www.pexels.com/photo/blauer-und-gruner-elefant-mit-licht-1680755/)
5+
* `fixtures/accordion.jpg`: Jefferson Lucena, Creative Commons, see [pexels.com](https://www.pexels.com/photo/man-playing-accordion-10153219/)
6+
* `fixtures/audio.mp3`: davidbain, Creative Commons, see [freesound.org](https://freesound.org/people/davidbain/sounds/136777/)
7+
* `fixtures/document.pdf`: Chem8240ja, Public Domain, see [Wikipedia](https://en.m.wikipedia.org/wiki/File:Re_example.pdf)
8+
* `fixtures/image.jpg`: Chris F., Creative Commons, see [pexels.com](https://www.pexels.com/photo/blauer-und-gruner-elefant-mit-licht-1680755/)

src/agent/src/Bridge/Brave/Tests/BraveTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class BraveTest extends TestCase
2020
{
2121
public function testReturnsSearchResults()
2222
{
23-
$result = JsonMockResponse::fromFile(__DIR__.'/fixtures/search-results.json');
23+
$result = JsonMockResponse::fromFile(__DIR__.'/Fixtures/search-results.json');
2424
$httpClient = new MockHttpClient($result);
2525
$brave = new Brave($httpClient, 'test-api-key');
2626

@@ -37,7 +37,7 @@ public function testReturnsSearchResults()
3737

3838
public function testPassesCorrectParametersToApi()
3939
{
40-
$result = JsonMockResponse::fromFile(__DIR__.'/fixtures/search-results.json');
40+
$result = JsonMockResponse::fromFile(__DIR__.'/Fixtures/search-results.json');
4141
$httpClient = new MockHttpClient($result);
4242
$brave = new Brave($httpClient, 'test-api-key', ['extra' => 'option']);
4343

src/agent/src/Bridge/Brave/Tests/fixtures/search-results.json renamed to src/agent/src/Bridge/Brave/Tests/Fixtures/search-results.json

File renamed without changes.

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/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/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'),
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/map.json'),
63+
JsonMockResponse::fromFile(__DIR__.'/Fixtures/map.json'),
6464
]);
6565

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

src/agent/src/Bridge/Firecrawl/Tests/fixtures/crawl-status-done.json renamed to src/agent/src/Bridge/Firecrawl/Tests/Fixtures/crawl-status-done.json

File renamed without changes.

src/agent/src/Bridge/Firecrawl/Tests/fixtures/crawl-status.json renamed to src/agent/src/Bridge/Firecrawl/Tests/Fixtures/crawl-status.json

File renamed without changes.

src/agent/src/Bridge/Firecrawl/Tests/fixtures/crawl-wait.json renamed to src/agent/src/Bridge/Firecrawl/Tests/Fixtures/crawl-wait.json

File renamed without changes.

src/agent/src/Bridge/Firecrawl/Tests/fixtures/crawl.json renamed to src/agent/src/Bridge/Firecrawl/Tests/Fixtures/crawl.json

File renamed without changes.

src/agent/src/Bridge/Firecrawl/Tests/fixtures/map.json renamed to src/agent/src/Bridge/Firecrawl/Tests/Fixtures/map.json

File renamed without changes.

src/agent/src/Bridge/Firecrawl/Tests/fixtures/scrape.json renamed to src/agent/src/Bridge/Firecrawl/Tests/Fixtures/scrape.json

File renamed without changes.

0 commit comments

Comments
 (0)