mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-12 19:23:07 +08:00
Update skills/quarkus-verification/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
@@ -87,7 +87,8 @@ class UserServiceTest {
|
|||||||
expected.id = 1L;
|
expected.id = 1L;
|
||||||
expected.name = dto.name();
|
expected.name = dto.name();
|
||||||
|
|
||||||
when(userRepository.persist(any(User.class))).thenReturn(expected);
|
// No stubbing needed — PanacheRepository.persist() is void
|
||||||
|
doNothing().when(userRepository).persist(any(User.class));
|
||||||
|
|
||||||
User result = userService.create(dto);
|
User result = userService.create(dto);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user