diff --git a/docs/1.x/schemas/sorting.md b/docs/1.x/schemas/sorting.md index df0d529..dddbe78 100644 --- a/docs/1.x/schemas/sorting.md +++ b/docs/1.x/schemas/sorting.md @@ -87,7 +87,7 @@ This works for attributes that relate to a database column that can be sorted. Our sort field classes can be used to describe additional sort fields that a client is allowed to send for a particular resource type. To add a sort field to -a schema, we can simply add it to the shcema's `sortables()` method. +a schema, we can simply add it to the schema's `sortables()` method. To create a sort field, we use the static `make` method. For example, if we wanted to add a sort field to our `posts` resource: diff --git a/docs/1.x/testing/resources.md b/docs/1.x/testing/resources.md index f56e3d7..51a2fd3 100644 --- a/docs/1.x/testing/resources.md +++ b/docs/1.x/testing/resources.md @@ -228,7 +228,7 @@ public function test(): void ->withData($data) ->patch('/api/v1/posts/' . $post->getRouteKey()); - $response->assertFetchedOne($expected); + $response->assertFetchedOne($data); $this->assertDatabaseHas('posts', [ 'id' => $post->getKey(), diff --git a/docs/2.x/schemas/sorting.md b/docs/2.x/schemas/sorting.md index df0d529..dddbe78 100644 --- a/docs/2.x/schemas/sorting.md +++ b/docs/2.x/schemas/sorting.md @@ -87,7 +87,7 @@ This works for attributes that relate to a database column that can be sorted. Our sort field classes can be used to describe additional sort fields that a client is allowed to send for a particular resource type. To add a sort field to -a schema, we can simply add it to the shcema's `sortables()` method. +a schema, we can simply add it to the schema's `sortables()` method. To create a sort field, we use the static `make` method. For example, if we wanted to add a sort field to our `posts` resource: diff --git a/docs/2.x/testing/resources.md b/docs/2.x/testing/resources.md index f56e3d7..51a2fd3 100644 --- a/docs/2.x/testing/resources.md +++ b/docs/2.x/testing/resources.md @@ -228,7 +228,7 @@ public function test(): void ->withData($data) ->patch('/api/v1/posts/' . $post->getRouteKey()); - $response->assertFetchedOne($expected); + $response->assertFetchedOne($data); $this->assertDatabaseHas('posts', [ 'id' => $post->getKey(), diff --git a/docs/3.x/schemas/sorting.md b/docs/3.x/schemas/sorting.md index df0d529..dddbe78 100644 --- a/docs/3.x/schemas/sorting.md +++ b/docs/3.x/schemas/sorting.md @@ -87,7 +87,7 @@ This works for attributes that relate to a database column that can be sorted. Our sort field classes can be used to describe additional sort fields that a client is allowed to send for a particular resource type. To add a sort field to -a schema, we can simply add it to the shcema's `sortables()` method. +a schema, we can simply add it to the schema's `sortables()` method. To create a sort field, we use the static `make` method. For example, if we wanted to add a sort field to our `posts` resource: diff --git a/docs/3.x/testing/resources.md b/docs/3.x/testing/resources.md index f56e3d7..51a2fd3 100644 --- a/docs/3.x/testing/resources.md +++ b/docs/3.x/testing/resources.md @@ -228,7 +228,7 @@ public function test(): void ->withData($data) ->patch('/api/v1/posts/' . $post->getRouteKey()); - $response->assertFetchedOne($expected); + $response->assertFetchedOne($data); $this->assertDatabaseHas('posts', [ 'id' => $post->getKey(), diff --git a/docs/4.x/schemas/sorting.md b/docs/4.x/schemas/sorting.md index df0d529..dddbe78 100644 --- a/docs/4.x/schemas/sorting.md +++ b/docs/4.x/schemas/sorting.md @@ -87,7 +87,7 @@ This works for attributes that relate to a database column that can be sorted. Our sort field classes can be used to describe additional sort fields that a client is allowed to send for a particular resource type. To add a sort field to -a schema, we can simply add it to the shcema's `sortables()` method. +a schema, we can simply add it to the schema's `sortables()` method. To create a sort field, we use the static `make` method. For example, if we wanted to add a sort field to our `posts` resource: diff --git a/docs/4.x/testing/resources.md b/docs/4.x/testing/resources.md index f56e3d7..51a2fd3 100644 --- a/docs/4.x/testing/resources.md +++ b/docs/4.x/testing/resources.md @@ -228,7 +228,7 @@ public function test(): void ->withData($data) ->patch('/api/v1/posts/' . $post->getRouteKey()); - $response->assertFetchedOne($expected); + $response->assertFetchedOne($data); $this->assertDatabaseHas('posts', [ 'id' => $post->getKey(), diff --git a/docs/5.x/schemas/sorting.md b/docs/5.x/schemas/sorting.md index df0d529..dddbe78 100644 --- a/docs/5.x/schemas/sorting.md +++ b/docs/5.x/schemas/sorting.md @@ -87,7 +87,7 @@ This works for attributes that relate to a database column that can be sorted. Our sort field classes can be used to describe additional sort fields that a client is allowed to send for a particular resource type. To add a sort field to -a schema, we can simply add it to the shcema's `sortables()` method. +a schema, we can simply add it to the schema's `sortables()` method. To create a sort field, we use the static `make` method. For example, if we wanted to add a sort field to our `posts` resource: diff --git a/docs/5.x/testing/resources.md b/docs/5.x/testing/resources.md index f56e3d7..51a2fd3 100644 --- a/docs/5.x/testing/resources.md +++ b/docs/5.x/testing/resources.md @@ -228,7 +228,7 @@ public function test(): void ->withData($data) ->patch('/api/v1/posts/' . $post->getRouteKey()); - $response->assertFetchedOne($expected); + $response->assertFetchedOne($data); $this->assertDatabaseHas('posts', [ 'id' => $post->getKey(), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy