You are here

private property CSVTest::$table in Forena Reports 8

Test CSV formattting

File

tests/src/Unit/Document/CSVTest.php, line 25

Class

CSVTest
Test CSV @group Forena @require module forena @coversDefaultClass \Drupal\forena\FrxPlugin\Document\CSV

Namespace

Drupal\Tests\forena\Unit\Document

Code

private $table = '
  <div>
    <table>
      <thead>
        <tr>
          <th>col_1</th>
          <th>col_2</th>
        </tr>
      </thead>
      <tbody>
        <tr >
          <td>1</td>
          <td>2</td>
        </tr>
        <tr>
          <td>text, with, commas</td>
          <td>text without commas</td>
        </tr>
      </tbody>
    </table>
  </div>';