- ๐ฆ๐บAustralia dpi Perth, Australia
Marked the following as duplicates
- ๐ No form validation if start date is greater than end date Closed: duplicate
- ๐ Alpha widget no error for end date before start date Closed: duplicate
- ๐ Alpha widget throws exception when end date is before start date Closed: duplicate
- ๐ฆ๐บAustralia dpi Perth, Australia
The tests from this one are conflicting with the tests added a few days later in #3074571: Alpha widget doesnt adjust time zone properly โ . It looks like both the alpha test in this issue and the other issue are based of
DateRecurModularOscarTest
added a number of months earlier, which is why the merge/diff is a bit whack.Tests above are red, needs a reroll.
I'd start with the tests committed then copy over tests from this issue or Sierra.
Can we get a MR.
Thanks
- ๐บ๐ธUnited States maskedjellybean Portland, OR
MR opened. I can see that the build looks like it will fail with an error that
Drupal\date_recur_entity_test\Entity\DrEntityTest
does not exist. I can say locally with a feature branch off of 3.2.x that this class does exist andDrupal\date_recur_entity_test\Entity\DrEntityTestBasic
does not, which is why I "fixed" this in my MR. Not sure what's going on there. - ๐บ๐ธUnited States maskedjellybean Portland, OR
I figured out what was going on with the missing test entity class and opened a separate issue:
https://www.drupal.org/project/date_recur_modular/issues/3544698 ๐ DrEntityTest renamed in date_recur, tests against 3.2.x-dev fail Active
- ๐บ๐ธUnited States maskedjellybean Portland, OR
If anyone has any tips for the best way to temporarily get the dev requirements for this module for development purposes (as specified in
require-dev
in composer.json, let me know. I'm aware there are PHPCS issues that need fixing, but I don't have the ruleset being used. - ๐จ๐ฆCanada joelpittet Vancouver
@maskedjellybean RE #20 I have been trying to get DDEV contrib to help make this question not a thing, but there is documentation here that is generic enough that should get you over the hump:
https://www.drupal.org/node/1419988 โI will first try to get it into date_recur ๐ Add DDEV Drupal Contrib for ease-of-maintenance Needs review , then do the same thing here. Please do have a peek at that issue, especially if you are familiar with DDEV already for your local environment.
- ๐บ๐ธUnited States maskedjellybean Portland, OR
Thank you @joelpittet. I shouldโve been more clear. I can run phpcs but when I run it from the root of this module it tries to use a ruleset that I donโt have. I would have it if I manually composer required all the modules/packages defined in the moduleโs require-dev section of composer.json and then avoided committing that change to my personal project. I just hoped there was an automated way that didnโt affect my project. Perhaps Iโll work on a tool like that.
- ๐จ๐ฆCanada joelpittet Vancouver
Oh what is the ruleset you don't have? You might be able to add it to your composer global if you can pick it out of the require-dev dependencies.