mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
Fix route calls [skip ci]
This commit is contained in:
@@ -207,7 +207,7 @@ class UserControllerTest extends TestCase
|
||||
$transformer->shouldReceive('transform')->atLeast()->once()->andReturn(['id' => 5]);
|
||||
|
||||
// call API
|
||||
$response = $this->put('/api/v1/users/' . $user->id, $data, ['Accept' => 'application/json']);
|
||||
$response = $this->put(route('api.v1.users.update', $user->id), $data, ['Accept' => 'application/json']);
|
||||
$response->assertStatus(200);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user