Skip to content

Commit

Permalink
cr remark vol3
Browse files Browse the repository at this point in the history
  • Loading branch information
konradoboza committed Aug 28, 2024
1 parent 6932bf9 commit 869ecca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/bundle/Command/UpdateUserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ function () use ($user, $userUpdateStruct): User {
}
);

$io->success('User was successfully updated.');
$io->success(sprintf(
'User "%s" was successfully updated.',
$user->getLogin(),
));

return Command::SUCCESS;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/bundle/Command/UpdateUserCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testExecuteReturnsSuccess(): void
);

self::assertStringContainsString(
'User was successfully updated.',
'User "anonymous" was successfully updated.',
$this->commandTester->getDisplay()
);

Expand Down

0 comments on commit 869ecca

Please sign in to comment.