Add some tests to ensure that the taxonomy term integration doesn't break.

CommentFileSizeAuthor
#2 metatag-n2513890-1.patch22.52 KBdamienmckenna

Comments

damienmckenna’s picture

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new22.52 KB

This refactors MetatagTestHelper a little to add some methods for creating various entity types and data structures, moves MetatagUnitTest to run after the test helper, then MetatagNodeUITest, and adds MetatagTermUITest, which is based upon MetatagNodeUITest. Some refactoring was done in MetatagNodeUITest (and MetatagTermUITest) to make it easier to work with, and some additional assertions have been added to verify that the requested pages are actually loaded. I've also updated MetatagContextTestCase to run off MetatagTestHelper and adjusted it accordingly.

damienmckenna’s picture

Status: Needs review » Fixed

Committed. This will help going forwards.

  • DamienMcKenna committed 8bab55e on 7.x-1.x
    Issue #2513890 by DamienMcKenna: Added tests for taxonomy term...

Status: Fixed » Closed (fixed)

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