File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ package.
351
351
Install our package via Composer, which will also install the TenantCloud package:
352
352
353
353
``` bash
354
- composer require laravel-json-api/boolean-soft-deletes
354
+ composer require laravel-json-api/boolean-softdeletes
355
355
```
356
356
357
357
### Implementing Boolean Soft-Deletes
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ public function test(): void
228
228
->expects('posts')
229
229
->includePaths('tags')
230
230
->withData($data)
231
- ->patch('/api/v1/posts' . $post->getRouteKey());
231
+ ->patch('/api/v1/posts/ ' . $post->getRouteKey());
232
232
233
233
$response->assertFetchedOne($expected);
234
234
@@ -278,7 +278,7 @@ public function test(): void
278
278
$response = $this
279
279
->actingAs($post->author)
280
280
->jsonApi()
281
- ->delete('/api/v1/posts' . $post->getRouteKey());
281
+ ->delete('/api/v1/posts/ ' . $post->getRouteKey());
282
282
283
283
$response->assertNoContent();
284
284
Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ package.
351
351
Install our package via Composer, which will also install the TenantCloud package:
352
352
353
353
``` bash
354
- composer require laravel-json-api/boolean-soft-deletes
354
+ composer require laravel-json-api/boolean-softdeletes
355
355
```
356
356
357
357
### Implementing Boolean Soft-Deletes
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ public function test(): void
228
228
->expects('posts')
229
229
->includePaths('tags')
230
230
->withData($data)
231
- ->patch('/api/v1/posts' . $post->getRouteKey());
231
+ ->patch('/api/v1/posts/ ' . $post->getRouteKey());
232
232
233
233
$response->assertFetchedOne($expected);
234
234
@@ -278,7 +278,7 @@ public function test(): void
278
278
$response = $this
279
279
->actingAs($post->author)
280
280
->jsonApi()
281
- ->delete('/api/v1/posts' . $post->getRouteKey());
281
+ ->delete('/api/v1/posts/ ' . $post->getRouteKey());
282
282
283
283
$response->assertNoContent();
284
284
You can’t perform that action at this time.
0 commit comments