Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Write tests for the 8.x-1.x functionality to help prevent regressions.
Comment | File | Size | Author |
---|---|---|---|
#5 | metatag-tests-2563637.2.patch | 7.21 KB | larowlan |
| |||
#5 | interdiff.txt | 1.56 KB | larowlan |
#4 | metatag-tests-2563637.patch | 6.24 KB | larowlan |
|
Comments
Comment #2
larowlanWorking on this (a little bit each day)
Comment #3
DamienMcKennaComment #4
larowlanHere's a baseline test.
From here we can require all new features/bugfixes to come with new test asserts - I'd be happy to help with adding them.
Test for #2581351: API flaw - modified defaults don't affect existing records is included but commented out - so once this is committed, that issue should only need to uncomment the line to add coverage.
Also adds schema and removes redundant field settings (strict schema checking happens in tests)
Comment #5
larowlanAnd here's a (commented) test for #2576695: OG Tags don't work - double slashes get replaced with one slash
Comment #6
larowlanComment #8
DamienMcKennaCommitted! Thank you so much, larowlan!
BTW I renamed the test to MetatagFieldTest, but that was the only change.
Comment #9
DamienMcKenna