Replace all deprecated code as per the drupal standards as suggested by the maintainers.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3257479-7.patch | 18.15 KB | megha_kundar |
| #4 | 3093198-4.patch | 20.95 KB | shubham.prakash |
| #2 | 3093198-2.patch | 20.95 KB | shubham.prakash |
Issue fork diff-3093198
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
shubham.prakash commentedPatch added for the same.
Comment #3
miro_dietikerThank you for getting this started.
The argument order is different. First needs to be the expected value, then the actual.
Comment #4
shubham.prakash commentedThe actual and expected values have been swapped.
Comment #5
miro_dietikerThat looks pretty good to me.
Comment #6
phenaproximaI was going to commit this, but it looks like it needs a reroll against 8.x-1.x.
Comment #7
megha_kundar commentedComment #8
megha_kundar commentedComment #10
saphemmy commentedComment #11
saphemmy commentedComment #13
saphemmy commentedFixed all the deprecations within tests.
Comment #14
victoria-marina commentedI'll review this.
Comment #15
miro_dietikerSomething is wrong here, the testbot didn't trigger or provide feedback...
Comment #16
phenaproximaThis is awesome work. Very thorough and well-scoped. I found a few things but they're basically just nitpicks. The only thing really blocking commit here is the fact that, for some reason, the testbot isn't running on this issue. Beyond that, I'm also seeing pre-existing failures in HEAD (which might be why testbot isn't running, come to think of it): https://www.drupal.org/pift-ci-job/2311570
Comment #17
victoria-marina commentedAfter the #12, all deprecations from tests were gone. I will keep observing the comments about @phenaproxima's thoughts.
Comment #18
berdirThe reason it doesn't work is because the module is configured to use Drupal 8.9 by default, which is no longer a valid option.
The default configurations on https://www.drupal.org/node/20492/qa need to be updated to use 9.3 or so as the core version.
That, combined with a number of bugs around merge requests, like sometimes not being able to re-test, apparently including the case when there is no (valid) default test configuration.
Comment #19
berdirActually, I see that this has been changed already, the old ones just haven't been removed yet. However, it happened after this has been pushed I assume.
I'd recommend using the stable/supported version of D9 for testing, so that it doesn't break if core changes some strings like currently the case. You can have a weekly test against 9.4 with notifications (daily is imho overkill).
So the only way to get it tested is to push a new commit to address that review or upload a patch.
Comment #20
saphemmy commentedComment #21
victoria-marina commentedI'll review this.
Comment #22
victoria-marina commentedAfter the last commit, the changes suggested on #16 were applied. Everything works fine as far I can test, so its a RTBC for me.
Comment #23
phenaproximaAdjusting credit for commit.
Comment #25
phenaproximaAnnd, merged into 8.x-1.x. Thanks all!