An error is thrown when you try to run tests showing that there is a comma after the parenthesis that was meant to be the end of the array.

CommentFileSizeAuthor
#2 2908640-2.patch1.14 KBjoelpittet

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new1.14 KB

Here's the patch that resolves that and cleans it up to help.

jaykandari’s picture

Status: Needs review » Reviewed & tested by the community
ParseError: syntax error, unexpected ')' in _registry_check_code() (line 33 of .../docroot/sites/all/modules/contrib/save_draft/save_draft.test).

admin/config/development/testing would never show up with current 7.x-dev release.

Patch #2 corrects it. Ran a test after applying the patch, works fine.
And, +1 for declaring $title_key & $body_key.
Thanks !!

  • rooby committed b9ee2cd on 7.x-1.x authored by joelpittet
    Issue #2908640 by joelpittet: Tests are broken due to unexpected )
    
rooby’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks for the patch.

Status: Fixed » Closed (fixed)

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