Skip to content

Commit

Permalink
Fix for deprecation notice (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-intelli authored Oct 19, 2023
1 parent 6978e1e commit 02f17e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function assertRatePlanDetails(RatePlanDetail $details) {
$this->assertCssElementText(".rate-plan-detail .rate-plan-detail__overview__country > .field__item", $details->getOrganization()->getCountry());
// Pricing Type.
$this->assertCssElementText(".rate-plan-detail .rate-plan-detail__overview__pricing-type > .field__label", 'Pricing type');
$this->assertCssElementText(".rate-plan-detail .rate-plan-detail__overview__pricing-type > .field__item", ucfirst($details->getRevenueType()));
$this->assertCssElementText(".rate-plan-detail .rate-plan-detail__overview__pricing-type > .field__item", ucfirst($details->getRevenueType() ? $details->getRevenueType() : ''));

// Test rate plan rates.
$prefix = '.rate-plan-detail:first-child';
Expand Down

0 comments on commit 02f17e3

Please sign in to comment.