Skip to content

Conversation

@Zegveld
Copy link
Contributor

@Zegveld Zegveld commented Feb 11, 2024

This way the test does not use the target property warning mechanism to check if a mapping did not take place, but instead checks if the resulting field is filled or not.

2 reasons why I want to change this:

The first reason is that a change in the property message should not result in this test failing.

The second reason would be traceability for when a bug appears.

If a bug would be introduced with the following symptoms:

  1. it would remove the field from unmapped properties
  2. it would not store the mapping for generation.

These tests would then still pass, while this sounds to me like a failure situation for this test class.

Created this PR to continue the discussion started at #3522

…testing anymore, but instead use behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant