Skip to content

Commit b0a10d9

Browse files
committed
[Tests] Update dummy app schemas for dependency update
1 parent e8f12e3 commit b0a10d9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/dummy/app/JsonApi/V1/Comments/CommentSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CommentSchema extends Schema
4646
public function fields(): array
4747
{
4848
return [
49-
HashId::make()->alreadyEncoded(),
49+
HashId::make()->alreadyHashed(),
5050
Str::make('content'),
5151
DateTime::make('createdAt')->sortable()->readOnly(),
5252
BelongsTo::make('post'),

tests/dummy/app/JsonApi/V1/Posts/PostSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class PostSchema extends Schema
6262
public function fields(): array
6363
{
6464
return [
65-
HashId::make()->alreadyEncoded(),
65+
HashId::make()->alreadyHashed(),
6666
BelongsTo::make('author')->type('users')->readOnly(),
6767
HasMany::make('comments')->readOnly(),
6868
Str::make('content'),

tests/dummy/app/JsonApi/V1/Tags/TagSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class TagSchema extends Schema
4545
public function fields(): array
4646
{
4747
return [
48-
HashId::make()->alreadyEncoded(),
48+
HashId::make()->alreadyHashed(),
4949
DateTime::make('createdAt')->sortable()->readOnly(),
5050
Str::make('name')->sortable(),
5151
BelongsToMany::make('posts')

tests/dummy/app/JsonApi/V1/Users/UserSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class UserSchema extends Schema
4545
public function fields(): array
4646
{
4747
return [
48-
HashId::make()->alreadyEncoded(),
48+
HashId::make()->alreadyHashed(),
4949
DateTime::make('createdAt')->readOnly(),
5050
Str::make('name'),
5151
DateTime::make('updatedAt')->readOnly(),

0 commit comments

Comments
 (0)