Fix Braintree integration test

This test got left in a broken state after the refactoring in 1e6adffaee1b49cd37217efc17c97af3320cd085.