| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function testBasic($format) |
||
| 36 | { |
||
| 37 | // Skip PDF test for nightly builds of PHP since mPDF doesn't work |
||
| 38 | if (version_compare(PHP_VERSION, '7.0.0-dev', '>=')) { |
||
| 39 | return; |
||
| 40 | } |
||
| 41 | |||
| 42 | $path = $this->getDocument('cellProperties', $format); |
||
| 43 | |||
| 44 | static::assertFileExists($path, 'File does not exist'); |
||
| 45 | static::assertGreaterThan(0, filesize($path), 'File is empty'); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |