Convert the type on the UserJob entity to be a string
[civicrm-core.git] / tests / phpunit / CRM / Contact / Import / Parser / ContactTest.php
index 2cdf6d492ebcbe12c1d00708adbac5c54daf2ae3..1535c5cfaba86dedb50bc2b9899c3a6f8a7c747e 100644 (file)
@@ -2041,7 +2041,7 @@ class CRM_Contact_Import_Parser_ContactTest extends CiviUnitTestCase {
         ], $submittedValues),
       ],
       'status_id:name' => 'draft',
-      'type_id:name' => 'contact_import',
+      'job_type' => 'contact_import',
     ])->execute()->first()['id'];
     if ($submittedValues['dataSource'] ?? NULL === 'CRM_Import_DataSource') {
       $dataSource = new CRM_Import_DataSource_CSV($userJobID);