Comments

eiriksm created an issue. See original summary.

eiriksm’s picture

Status: Active » Needs review
StatusFileSize
new332 bytes
bojanz’s picture

Status: Needs review » Needs work
Unable to install modules: module 'physical_test' is incompatible with this version of Drupal core.

We need to do the same to physical_test. While we're at it, we should remove the code line and require Drupal ^8.7.7 in the composer.json

Error: Call to undefined method Drupal\Tests\physical\Unit\WeightTest::setExpectedException()

Tests are still using deprecated phpunit methods.

swatichouhan012’s picture

Assigned: Unassigned » swatichouhan012
Issue tags: +VbContribution2020
swatichouhan012’s picture

Assigned: swatichouhan012 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new4.92 KB
new4.09 KB

I have removed deprecated method setExpectedException(), also removed deprecated drupal_set_message, kindly review patch.

Status: Needs review » Needs work

The last submitted patch, 5: 3113329-5.patch, failed testing. View results

bojanz’s picture

Patches are usually not reviewed until they start passing tests :)
In this case the tests are failing cause you changed core_version_requirement, and it's now invalid.

 core: 8.x
+core_version_requirement: ^8.7 || ^9

The core line needs to be removed. The core_version_requirement line needs to use ^8.7.7 || ^9

neelam_wadhwani’s picture

Assigned: Unassigned » neelam_wadhwani
neelam_wadhwani’s picture

Assigned: neelam_wadhwani » Unassigned
Status: Needs work » Needs review
StatusFileSize
new4.94 KB
new8.16 KB

I have done with additional changes and done testing.
Module is working fine.

Status: Needs review » Needs work

The last submitted patch, 9: 3113329-9.patch, failed testing. View results

bojanz’s picture

Status: Needs work » Needs review
Issue tags: -VbContribution2020
StatusFileSize
new5.38 KB

Started from scratch. Let's try this.

bojanz’s picture

StatusFileSize
new9.78 KB

Getting closer. Let's add a custom comparator like we did for prices.

bojanz’s picture

Title: Drupal 9 readiness » Allow the module to be used on D9

Better title.

  • bojanz committed f28dd74 on 8.x-1.x
    Issue #3113329 by bojanz, neelam_wadhwani, swatichouhan012, eiriksm:...
bojanz’s picture

Status: Needs review » Fixed

Committed. Thanks, everyone.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.