mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
Improve test coverage.
This commit is contained in:
@@ -66,8 +66,8 @@ class UserTransformer extends TransformerAbstract
|
||||
|
||||
return [
|
||||
'id' => (int)$user->id,
|
||||
'updated_at' => $user->updated_at->toAtomString(),
|
||||
'created_at' => $user->created_at->toAtomString(),
|
||||
'updated_at' => $user->updated_at->toAtomString(),
|
||||
'email' => $user->email,
|
||||
'blocked' => 1 === (int)$user->blocked,
|
||||
'blocked_code' => '' === $user->blocked_code ? null : $user->blocked_code,
|
||||
|
||||
Reference in New Issue
Block a user