Fix test_edd_get_download_by(). #2302
Fix test_get_purchase_link(). #2302