You are here

public function ChartAttachmentServiceTest::attachmentViews in Charts 8.4

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/Services/ChartAttachmentServiceTest.php \Drupal\Tests\charts\Unit\Services\ChartAttachmentServiceTest::attachmentViews()
  2. 5.0.x tests/src/Unit/Services/ChartAttachmentServiceTest.php \Drupal\Tests\charts\Unit\Services\ChartAttachmentServiceTest::attachmentViews()

Data provider for testAttachmentView().

File

tests/src/Unit/Services/ChartAttachmentServiceTest.php, line 46

Class

ChartAttachmentServiceTest
@coversDefaultClass \Drupal\charts\Services\ChartAttachmentService @group charts

Namespace

Drupal\Tests\charts\Unit\Services

Code

public function attachmentViews() {
  (yield [
    [
      new \stdClass(),
    ],
  ]);
}