Update test to reflect test setup change
authoreileen <emcnaughton@wikimedia.org>
Sat, 10 Aug 2019 03:46:31 +0000 (15:46 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 10 Aug 2019 03:46:31 +0000 (15:46 +1200)
tests/phpunit/api/v3/PaymentTest.php

index 6395c462a984d92c77e7718a7e6a7bca954cb4aa..8f0bf927e0f1ff314066a50fe08193f20ec6444d 100644 (file)
@@ -167,7 +167,7 @@ class api_v3_PaymentTest extends CiviUnitTestCase {
     $payment = $this->callAPISuccess('payment', 'create', $params);
 
     $this->callAPISuccess('Payment', 'sendconfirmation', ['id' => $payment['id']]);
-    $mut->assertSubjects(['Payment Receipt - Annual CiviCRM meet']);
+    $mut->assertSubjects(['Payment Receipt - Annual CiviCRM meet', 'Registration Confirmation - Annual CiviCRM meet']);
     $mut->checkMailLog([
       'Dear Anthony,',
       'A payment has been received.',