Closed (duplicate)
Project:
Commerce License
Version:
8.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Dec 2018 at 14:54 UTC
Updated:
27 Jan 2021 at 16:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hardikpandya commentedComment #4
nginex commentedComment #5
sershevchykComment #6
sershevchykAdded method calculateStart to fix the latest test error:
Comment #7
sershevchykComment #8
joachim commented> PHP Fatal error: Class Drupal\commerce_license_set_expiry_test\Plugin\RecurringPeriod\CommerceLicenseSetExpiryTest contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\recurring_period\Plugin\RecurringPeriod\RecurringPeriodInterface::calculateStart)
That's an unrelated problem, that we shouldn't fix here.
It's entirely my fault too -- I thought I'd made the recent additions to recurring_period backwards-compatible, and apparently I've messed it up.
Comment #9
joachim commentedThe recurring_period issue should be fixed now.
Comment #10
karan sen commentedUsed \Drupal\entity\BundlePlugin\BundlePluginInterface, here's the patch.
Comment #11
karan sen commentedComment #13
joachim commentedYou have to replace this removal too!
Comment #14
karan sen commentedHi @joachim, This is unsued used statement here, that is why removed it.
Comment #15
karan sen commented@joachim replaced both the use statement in both the places. Please have a look.
Comment #17
sahana _n commentedreplaced Drupal\commerce\BundlePluginInterface with \Drupal\entity\BundlePlugin\BundlePluginInterface
Comment #19
joachim commentedThere's no need to keep uploading the same or similar patches. The tests are failing because of another problem, that needs to be fixed in a separate issue.
Comment #20
quironI fixed the tests issue in the patch in #3032710
Tested both patches and the tests work fine, so I guess this is RTBC
Comment #21
jsacksick commentedThis was fixed in dev already.