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

Update the deprecated functions which will be removed in PHPUnit 10 #400

Open
kedarkhaire opened this issue Jan 16, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@kedarkhaire
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

  1. Apigee\Edge\Tests\Api\ApigeeX\Controller\DeveloperAcceptedRatePlanControllerTest::testAcceptRatePlan
    assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectNotHasProperty() instead.

  2. Apigee\Edge\Tests\Api\Monetization\Controller\CompanyAcceptedRatePlanControllerTest::testAcceptRatePlan
    assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectNotHasProperty() instead.

  3. Apigee\Edge\Tests\Api\Monetization\Controller\CompanyAcceptedRatePlanControllerTest::testUpdateSubscription
    assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectNotHasProperty() instead.

  4. Apigee\Edge\Tests\Api\Monetization\Controller\DeveloperAcceptedRatePlanControllerTest::testAcceptRatePlan
    assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectNotHasProperty() instead.

  5. Apigee\Edge\Tests\Api\Monetization\Controller\DeveloperAcceptedRatePlanControllerTest::testUpdateSubscription
    assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectNotHasProperty() instead.

  6. Apigee\Edge\Tests\Serializer\EntitySerializerTest::testNormalize
    assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectNotHasProperty() instead.

  7. Apigee\Edge\Tests\Structure\PropertiesPropertyTransformationTest::testNormalize
    assertObjectHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectHasProperty() instead.

  8. Apigee\Edge\Tests\Api\ApigeeX\Controller\ApiProductControllerTest::testLoad
    This test depends on "Apigee\Edge\Tests\Api\ApigeeX\Controller\ApiProductControllerTest::testCreate" which does not exist.

Describe the solution you'd like
Update the deprecated functions which will be removed in PhpUnit 10

@kedarkhaire kedarkhaire added the enhancement New feature or request label Jan 16, 2025
@kedarkhaire kedarkhaire self-assigned this Jan 16, 2025
@kedarkhaire kedarkhaire changed the title Deprecation fixes for PhpUnit10 Update the deprecated functions which will be removed in PHPUnit 10 Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant