Skip to content

Update assertjVersion to 3.23.1#17618

Merged
oguzkocer merged 6 commits intotrunkfrom
dep-updates/assertjVersion
Dec 6, 2022
Merged

Update assertjVersion to 3.23.1#17618
oguzkocer merged 6 commits intotrunkfrom
dep-updates/assertjVersion

Conversation

@oguzkocer
Copy link
Copy Markdown
Contributor

@oguzkocer oguzkocer commented Dec 5, 2022

Updates assertjVersion to 3.23.1.

  • After 6539c76, we had Overload resolution ambiguity between Consumer & ThrowingConsumer in FetchScanStateUseCaseTest & UploadActionUseCaseTest. This is a documented issue. For now, it requires syntax change made in 0d28dfc.
  • 8a8d1d4 updates the deprecated org.assertj.core.api.Java6Assertions.assertThat import with org.assertj.core.api.Assertions.assertThat which is what we use in all our other tests.

To test:

Since this dependency change is only related to testing, CI checks should be enough.

Regression Notes

  1. Potential unintended areas of impact
    N/A

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    N/A

  3. What automated tests I added (or what prevented me from doing so)
    N/A

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@oguzkocer oguzkocer added this to the 21.4 milestone Dec 5, 2022
@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Dec 5, 2022

WordPress📲 You can test these changes on WordPress by downloading wordpress-installable-build-pr17618-f4348ec.apk
💡 Scan this QR code with your Android phone to download and install the APK directly on it.
AppWordPress
Build FlavorJalapeno
Build TypeDebug
Commitf4348ec
Note: This installable build uses the JalapenoDebug build flavor, and does not support Google Login.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Dec 5, 2022

Jetpack📲 You can test these changes on Jetpack by downloading jetpack-installable-build-pr17618-f4348ec.apk
💡 Scan this QR code with your Android phone to download and install the APK directly on it.
AppJetpack
Build FlavorJalapeno
Build TypeDebug
Commitf4348ec
Note: This installable build uses the JalapenoDebug build flavor, and does not support Google Login.

@oguzkocer oguzkocer marked this pull request as ready for review December 5, 2022 16:09
@oguzkocer oguzkocer enabled auto-merge December 5, 2022 16:09
@oguzkocer oguzkocer requested a review from ParaskP7 December 5, 2022 16:09
@ParaskP7 ParaskP7 mentioned this pull request Dec 6, 2022
5 tasks
@ParaskP7 ParaskP7 self-assigned this Dec 6, 2022
package org.wordpress.android.ui.mysite.dynamiccards

import kotlinx.coroutines.InternalCoroutinesApi
import org.assertj.core.api.Java6Assertions.assertThat
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Java6Assertions was a very interesting import! 🤣

Copy link
Copy Markdown
Contributor

@ParaskP7 ParaskP7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 💯

Thanks for handling this update @oguzkocer ! 🥇


  • After 6539c76, we had Overload resolution ambiguity between Consumer & ThrowingConsumer in FetchScanStateUseCaseTest & UploadActionUseCaseTest. This is a assertj/assertj#2357. For now, it requires syntax change made in 0d28dfc.

👍

  • 8a8d1d4 updates the deprecated org.assertj.core.api.Java6Assertions.assertThat import with org.assertj.core.api.Assertions.assertThat which is what we use in all our other tests.

👍 + 😅

@oguzkocer oguzkocer merged commit 69d5252 into trunk Dec 6, 2022
@oguzkocer oguzkocer deleted the dep-updates/assertjVersion branch December 6, 2022 15:19
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.

3 participants