Closed (fixed)
Project:
Swift Mailer (abandoned)
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
8 Nov 2019 at 10:51 UTC
Updated:
8 Apr 2020 at 17:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jeroentPatch attached converts the simpletest to a PHPUnit FunctionalJavascript test and fixes a deprecation notice.
Comment #3
jeroentTest did not run because of a typo in the filename...
Comment #4
jeroentAnd now the right patch. (The previous patch as added to the patch - patcheption)
Comment #5
jeroentComment #6
berdirLooks fine to me, just one nitpick, lets include the $defaultTheme = 'stark' definition in the new test so we don't have to update it again?
Comment #7
akashkumar07 commentedAdded $defaultTheme = 'stark' in test. Please review.
Comment #8
berdirextra spaces.
lets add a docblock for this while moving it around. Admin user as description and @var \Drupal\user\UserInterface.
Make sure you select a compatible PHP version when adding a test.
Comment #9
akashkumar07 commentedMade suggested changes. Please review.
Comment #10
berdirno . at the end of @var, but that can be fixed on commit.
More importantly, when making changes to an existing patch, always provide an interdiff, so it is easier to review.
Comment #11
adamps commentedComment #12
berdirReroll, without the test theme change.
Comment #13
berdirOk, so this now actually fails because I forgot to add the key to the mailsystem test theme, will need to fix that.
This passes on 8.8, so I think you could also commit it.
Comment #15
adamps commentedAgree, committed.
I reopened #3096960: Drupal 9 deprecated code report for the remaining error in mailsystem_test_theme.