CRM-15037 - Extend webtest to test for this bug.
authorDave Greenberg <dave@civicrm.org>
Fri, 25 Jul 2014 21:51:49 +0000 (14:51 -0700)
committerDave Greenberg <dave@civicrm.org>
Fri, 25 Jul 2014 21:51:49 +0000 (14:51 -0700)
----------------------------------------
* CRM-15037:
  https://issues.civicrm.org/jira/browse/CRM-15037

tests/phpunit/WebTest/Contribute/StandaloneAddTest.php

index 58dbf64674e79425b827c657af42113543456f5d..467d5991ce0946c2c6b36f5813d78f4c54b45994 100644 (file)
@@ -94,6 +94,7 @@ class WebTest_Contribute_StandaloneAddTest extends CiviSeleniumTestCase {
     $this->select("payment_instrument_id", "value=4");
     $this->waitForElementPresent("check_number");
     $this->type("check_number", "check #1041");
+    $this->click("is_email_receipt");
 
     $this->type("trxn_id", "P20901X1" . rand(100, 10000));