Skip to content

Commit 606f78e

Browse files
committed
Merge branch 'release/2.2.1'
2 parents 20cf48a + e2ff8c7 commit 606f78e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

1.0/schemas/soft-deleting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ package.
351351
Install our package via Composer, which will also install the TenantCloud package:
352352

353353
```bash
354-
composer require laravel-json-api/boolean-soft-deletes
354+
composer require laravel-json-api/boolean-softdeletes
355355
```
356356

357357
### Implementing Boolean Soft-Deletes

1.0/testing/resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function test(): void
228228
->expects('posts')
229229
->includePaths('tags')
230230
->withData($data)
231-
->patch('/api/v1/posts' . $post->getRouteKey());
231+
->patch('/api/v1/posts/' . $post->getRouteKey());
232232

233233
$response->assertFetchedOne($expected);
234234

@@ -278,7 +278,7 @@ public function test(): void
278278
$response = $this
279279
->actingAs($post->author)
280280
->jsonApi()
281-
->delete('/api/v1/posts' . $post->getRouteKey());
281+
->delete('/api/v1/posts/' . $post->getRouteKey());
282282

283283
$response->assertNoContent();
284284

2.0/schemas/soft-deleting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ package.
351351
Install our package via Composer, which will also install the TenantCloud package:
352352

353353
```bash
354-
composer require laravel-json-api/boolean-soft-deletes
354+
composer require laravel-json-api/boolean-softdeletes
355355
```
356356

357357
### Implementing Boolean Soft-Deletes

2.0/testing/resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function test(): void
228228
->expects('posts')
229229
->includePaths('tags')
230230
->withData($data)
231-
->patch('/api/v1/posts' . $post->getRouteKey());
231+
->patch('/api/v1/posts/' . $post->getRouteKey());
232232

233233
$response->assertFetchedOne($expected);
234234

@@ -278,7 +278,7 @@ public function test(): void
278278
$response = $this
279279
->actingAs($post->author)
280280
->jsonApi()
281-
->delete('/api/v1/posts' . $post->getRouteKey());
281+
->delete('/api/v1/posts/' . $post->getRouteKey());
282282

283283
$response->assertNoContent();
284284

0 commit comments

Comments
 (0)
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