Fix hard crash of test-suite due to syntax error

Note: This is *only* a syntax fix. I don't what's supposed to be going on,
and there are other tests which fails... but at least they don't
crash the test-suite.

Original change was: 9e2ee07bf82624fe50070e14ccc6aa39ffa1b7d9
CRM-15496 api contribution.complete_transaction improve recurring handling