eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Assertion errors in `jnosql-mapping-graph`

eliasnogueira opened this issue · comments

Which JNoSQL project the issue refers to?

JNoSQL (Core)

Bug description

Context

During the merge of #369, which is improving the tests as a PoC for the jsql-communication-core module, we have found issues in the jnosql-mapping-graph, that prevent the PR to merge.

Issue

The GraphCrudRepositoryProxyTest and GraphRepositoryProxyTest are throwing assertion errors due to the Mockito 5.2.0 version.

More details about the expected results are in the Expected results section and the full detail in the Code example, screenshot, or link to a repository.

JNoSQL Version

JNoSQL version

Steps To Reproduce

  1. Update the mockito.version in your pom.xml to 5.2.0
  2. Run the tests using mvn clean test into the jnosql-mapping-graph module

Expected Results

Class Test Method Expected result
GraphCrudRepositoryProxyTest shouldFindByIds() 10L
GraphRepositoryProxyTest shouldFindByIds()` 10L

Code example, screenshot, or link to a repository

Test Results - All_in_jnosql-mapping-graph.html.zip

Thanks, Elias; fixed, finally.