public function SalesforceMappingTest::testCheckTriggers in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_mapping/tests/src/Unit/SalesforceMappingTest.php \Drupal\Tests\salesforce_mapping\Unit\SalesforceMappingTest::testCheckTriggers()
- 5.0.x modules/salesforce_mapping/tests/src/Unit/SalesforceMappingTest.php \Drupal\Tests\salesforce_mapping\Unit\SalesforceMappingTest::testCheckTriggers()
Test checkTriggers()
File
- modules/
salesforce_mapping/ tests/ src/ Unit/ SalesforceMappingTest.php, line 149
Class
- SalesforceMappingTest
- Test Object instantitation.
Namespace
Drupal\Tests\salesforce_mapping\UnitCode
public function testCheckTriggers() {
$triggers = $this->mapping
->checkTriggers([
MappingConstants::SALESFORCE_MAPPING_SYNC_DRUPAL_CREATE,
MappingConstants::SALESFORCE_MAPPING_SYNC_DRUPAL_UPDATE,
]);
$this
->assertTrue($triggers);
}