Add api-v4-mandatory parameter
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 7 Jun 2023 20:59:01 +0000 (08:59 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 7 Jun 2023 20:59:01 +0000 (08:59 +1200)
tests/phpunit/api/v3/PcpTest.php

index 0b24ad1358d4eaa5068493130ccbeb6fa1a17c78..5ef1fdcc00f3c7bb2b308ce6269f8aa501580f33 100644 (file)
@@ -38,6 +38,7 @@ class api_v3_PcpTest extends CiviUnitTestCase {
       'contact_id' => 1,
       'page_id' => 1,
       'pcp_block_id' => 1,
+      'status_id:name' => 'Approved',
     ];
     parent::setUp();
   }