Skip to content

Commit bdb333f

Browse files
committed
rename snapshot folder
- from `__recorded__` to `snapshots`
1 parent 51f7139 commit bdb333f

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

src/Macros/PestHttpRecorder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static function register()
3333

3434
class HttpRecorder
3535
{
36-
private $stubsFolder = '__recorded_stubs__';
36+
private $stubsFolder = 'snapshots';
3737

3838
private $usePrettyJson = true;
3939

tests/RecordedEndpointCommentsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
beforeEach(function () {
1111
Http::recordAndFakeLater('https://api.notion.com/v1/comments*')
12-
->storeIn('__recorded__/comments');
12+
->storeIn('snapshots/comments');
1313
});
1414

1515
it('should fetch list of comments with an accurate representation of attributes', function () {

tests/__recorded__/comments/get_v1-comments_block-id-cb588bcbcbdb4f2eac3db05446b8f5d9-page-size-100.json renamed to tests/snapshots/comments/get_v1-comments_block-id-cb588bcbcbdb4f2eac3db05446b8f5d9-page-size-100.json

File renamed without changes.

tests/__recorded__/comments/get_v1-comments_block-id-cbf6b0af-6eaa-45ca-9715-9fa147ef6b17-page-size-100.json renamed to tests/snapshots/comments/get_v1-comments_block-id-cbf6b0af-6eaa-45ca-9715-9fa147ef6b17-page-size-100.json

File renamed without changes.

0 commit comments

Comments
 (0)