Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebAppGeneratorTest : Replace AssertJ's deprecated asList() DSL method with asInstanceOf(InstanceOfAssertFactories.list(type.class)) #3286

Closed
1 task
rohanKanojia opened this issue Jul 31, 2024 · 1 comment · Fixed by #3302
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@rohanKanojia
Copy link
Member

Component

JKube Kit

Task description

In the latest versions of Assertj asList() DSL method has been marked as deprecated:

users are advised to use asInstanceOf(InstanceOfAssertFactories.list(type.class)) instead, we need to update asList() calls with this.

Expected Behavior

AssertJ's asList() is replaced with asInstanceOf(InstanceOfAssertFactories.list(type.class))

Acceptance Criteria

  • asList() DSL method call is replaced with asInstanceOf(InstanceOfAssertFactories.list(type.class)) in all places
@rohanKanojia rohanKanojia added good first issue Good for newcomers help wanted Extra attention is needed labels Jul 31, 2024
@ShivamChavan01
Copy link
Contributor

Hey @rohanKanojia Can i do it

ShivamChavan01 added a commit to ShivamChavan01/jkube that referenced this issue Jul 31, 2024
ShivamChavan01 added a commit to ShivamChavan01/jkube that referenced this issue Aug 4, 2024
@manusa manusa added this to the 1.17.0 milestone Aug 7, 2024 — with automated-tasks
manusa pushed a commit that referenced this issue Aug 7, 2024
…torTest (3302)

Issue #3286: Replace deprecated asList() in Web App Generator Test
---
Removed the unused Imports
---
Used Only Imports which are required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
3 participants