Skip to content

Commit a3588b2

Browse files
committed
Add test for unsupported icon sets
1 parent 0327b49 commit a3588b2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalIconSetTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,12 @@ public function testIconSet(): void
7676

7777
++$columnIndex;
7878
}
79+
80+
// unsupported icon sets
81+
for ($columnIndex = 'R'; $columnIndex <= 'U'; ++$columnIndex) {
82+
$styles = $worksheet->getConditionalStyles("{$columnIndex}2:{$columnIndex}11");
83+
$iconSet = $styles[0]->getIconSet();
84+
self::assertNull($iconSet);
85+
}
7986
}
8087
}
Binary file not shown.

0 commit comments

Comments
 (0)