Problem/Motivation

The project has no automated tests yet. We should add them to improve reliability, and avoid regressions.

Proposed resolution

Writing and adding tests for the scope of this module.

Remaining tasks

  • Write tests that add a script field to a content type
  • Make sure the field shows in the node add and edit forms for that content type
  • Ensure the field shows only for users with the right permissions
  • Ensure that when the field is displayed, the scripts are added, using the right base url
  • Test erroneous and malicious input, to make sure the module does the right thing with them

User interface changes

None

API changes

None

Comments

dagmar’s picture

Assigned: Unassigned » dagmar
lucascaro’s picture

Issue summary: View changes
dagmar’s picture

Status: Active » Fixed

Ok we have enough tests now.

  • Commit 838250e on 7.x-1.x by dagmar:
    Issue #2250079: Add automated tests.
    

Status: Fixed » Closed (fixed)

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