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

Some code is deprecated and some marked for removal and assert is in incorrect order #52

Open
tdltdl opened this issue Sep 11, 2024 · 2 comments

Comments

@tdltdl
Copy link

tdltdl commented Sep 11, 2024

Some examples are

  • MapRequest uses deprecated create signature (MediaType, String)
  • new Integer(0), ...

Also propose to upgrade to latest versions
All assert parameters are in the wrong order : The signature is assertEquals( expected, actual) and all test cases are like this assertEquals(asnResp.getDomain(), "af.mil") (expected is the function call and actual is the expected result...

@tdltdl tdltdl changed the title Some code is deprecated and some marked for removal Some code is deprecated and some marked for removal and assert is in incorrect order Sep 11, 2024
@tdltdl
Copy link
Author

tdltdl commented Sep 11, 2024

Will also include updated values to the test cases as per #54.
and update some dependencies like okhttp that was reported as vulnerable

tdltdl pushed a commit to tdltdl/ipInfojava that referenced this issue Sep 11, 2024
- Remove deprecated code
- upgrade dependencies (amongst other to fix CVE)
- fix typos
- fix tests expected result based on current results from IPInfo
- ordered the parameters correctly
- add comment for failed test case to know which test is failing
@max-ipinfo
Copy link

Hi @tdltdl ! Thanks for your 3 PRs.

We will go over them as soon as we have a chance.

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

No branches or pull requests

2 participants