test(submit-validate-cancel.js): fix broken test

The removed line was never meant to be part of the test.  The button param is actually expected to be be null if a file is submitted via the API.