add element updates
This commit is contained in:
parent
6d0acaae56
commit
73b0befc97
10 changed files with 223 additions and 13 deletions
|
|
@ -158,7 +158,8 @@ class ElementsEndpointTest extends TestCase
|
|||
));
|
||||
$this->createSession('valid-token');
|
||||
|
||||
$response = $this->withCookie('auth_token', 'valid-token')
|
||||
$response = $this->withCredentials()
|
||||
->withUnencryptedCookie('auth_token', 'valid-token')
|
||||
->patchJson("/api/elements/{$element->getId()}", [
|
||||
'title' => 'Updated title',
|
||||
'description' => 'Updated description',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue