SuccessChanges

Summary

  1. tsk8: Implements REST tests for recent stories (details)
Commit fd8f1a137a026872084f7204e6616a66ee3211ed by devpablogg
tsk8: Implements REST tests for recent stories
This commit introduces REST integration tests for the
`/api/microstories/recents` endpoint, verifying that the service
correctly retrieves and orders the 6 most recent stories. To ensure
consistent results, the timestamp handling in `StoriesDataset` and the
XML datasets was adjusted to align with DBUnit expectations. The dataset
files now use SQL-style timestamps (`yyyy-MM-dd HH:mm:ss`), and
`StoriesDataset` uses
`LocalDateTime` instead of `Instant.parse()` to avoid timezone
discrepancies. These changes guarantee that the test data and database
values are interpreted consistently across environments.
The file was modifiedrest/src/test/resources/test-persistence.xml
The file was modifiedrest/src/test/resources/web.xml
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java
The file was addedrest/src/test/java/es/uvigo/esei/microstories/rest/ResourceUnitTestSuite.java
The file was addedrest/src/test/java/es/uvigo/esei/microstories/rest/StoryResourceRestTest.java
The file was modifiedrest/src/test/resources/beans.xml
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoriesDataset.java
The file was addedrest/src/test/java/es/uvigo/esei/microstories/rest/GenericTypes.java
The file was modifiedservice/src/main/java/es/uvigo/esei/microstories/mappers/StoryMapper.java
The file was modifiedtests/src/main/resources/stories.xml