unloggedio / unlogged-sdk

Unlogged SDK for recording code execution
https://unlogged.io
Apache License 2.0
152 stars 16 forks source link

Mocks seem to be ignored for ReactiveCrudRepository calls #87

Open TheAmg opened 1 week ago

TheAmg commented 1 week ago

Describe the bug

Any mocks added to calls to ReactiveCrudRepository seem to be ignored on plugin 2024.2.10 and sdk 0.6.3. This can be seen on main/main-archive branches of unlogged-spring-webflux-demo -> PlayerController -> createPlayer.

Reproduction steps

  1. Create a mock for repository.save in the method mentioned above.
  2. DirectInvoke the method, the mock response will be ignored.

Expected behavior

For the mock saved and injected to be picked up and used.

Additional context

No response