Skip to content

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

@kedarkhaire

Description

@kedarkhaire

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions