rewrite-spring icon indicating copy to clipboard operation
rewrite-spring copied to clipboard

2.4 -> 2.5: Prefer using AssertJ assertThat(...)

Open BoykoAlex opened this issue 3 years ago • 0 comments

org.springframework.boot.test.context.assertj.ApplicationContextAssertProvider.assertThat()

to prevent accidental use. Prefer standard AssertJ assertThat(context)... calls instead.

org.springframework.boot.test.json.JsonContent.assertThat()

to prevent accidental use. Prefer standard AssertJ assertThat(context)... calls instead.

This is not an obvious search/replace unfortunately. Might be the case for manual migration rather than automatic.

BoykoAlex avatar Feb 11 '22 04:02 BoykoAlex