public function CustomerProfileAlterTest::appliesDataProvider in Drupal Commerce Connector for AvaTax 8
Data provider for `applies`.
Return value
\Generator The test data.
File
- tests/
src/ Unit/ CustomerProfileAlterTest.php, line 132
Class
- CustomerProfileAlterTest
- @group commerce_avatax @coversDefaultClass \Drupal\commerce_avatax\CustomerProfileAlter
Namespace
Drupal\Tests\commerce_avatax\UnitCode
public function appliesDataProvider() : \Generator {
(yield [
TRUE,
'billing',
FALSE,
]);
(yield [
FALSE,
'billing',
FALSE,
]);
(yield [
TRUE,
'shipping',
TRUE,
]);
(yield [
FALSE,
'shipping',
FALSE,
]);
}