You are here

public function PriceItemGeneratedSampleValueTest::dataForGeneratedSamples in Commerce Core 8.2

Test data for generated samples.

Return value

\Generator The test data.

File

modules/price/tests/src/Kernel/PriceItemGeneratedSampleValueTest.php, line 47

Class

PriceItemGeneratedSampleValueTest
Tests generating sample values for price fields.

Namespace

Drupal\Tests\commerce_price\Kernel

Code

public function dataForGeneratedSamples() {
  (yield [
    [
      'USD',
    ],
  ]);
  (yield [
    [
      'CAD',
    ],
  ]);
  (yield [
    [
      'EUR',
      'USD',
    ],
  ]);
}