Failing test #267
This commit is contained in:
parent
a8d96aaa39
commit
bc40ec1830
@ -91,7 +91,7 @@ class StyleHelper extends AbstractStyleHelper
|
||||
{
|
||||
$styleId = $style->getId();
|
||||
|
||||
if (true === $style->shouldApplyBorder()) {
|
||||
if ($style->shouldApplyBorder()) {
|
||||
|
||||
$border = $style->getBorder();
|
||||
$serializedBorder = serialize($border);
|
||||
|
@ -380,11 +380,14 @@ class WriterWithStyleTest extends \PHPUnit_Framework_TestCase
|
||||
$fontStyle = (new StyleBuilder())->setFontBold()->build();
|
||||
$emptyStyle = (new StyleBuilder())->build();
|
||||
|
||||
$borderRightFontBoldStyle = $borderRightStyle->mergeWith($fontStyle);
|
||||
|
||||
$dataRows = [
|
||||
['Border-Left'],
|
||||
['Empty'],
|
||||
['Font-Bold'],
|
||||
['Border-Right']
|
||||
['Border-Right'],
|
||||
['Border-Right-Font-Bold'],
|
||||
];
|
||||
|
||||
$styles = [
|
||||
@ -392,6 +395,7 @@ class WriterWithStyleTest extends \PHPUnit_Framework_TestCase
|
||||
$emptyStyle,
|
||||
$fontStyle,
|
||||
$borderRightStyle,
|
||||
$borderRightFontBoldStyle
|
||||
];
|
||||
|
||||
$this->writeToXLSXFileWithMultipleStyles($dataRows, $fileName, $styles);
|
||||
|
Loading…
x
Reference in New Issue
Block a user