From 34d91214b4ab4bb59605966e68b008868a32a635 Mon Sep 17 00:00:00 2001 From: Ivan Lanin Date: Sun, 9 Mar 2014 22:17:21 +0700 Subject: [PATCH] Change normal value for cell style tests --- Tests/PHPWord/Style/CellTest.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Tests/PHPWord/Style/CellTest.php b/Tests/PHPWord/Style/CellTest.php index 9cdd7e5e..4db86f35 100644 --- a/Tests/PHPWord/Style/CellTest.php +++ b/Tests/PHPWord/Style/CellTest.php @@ -21,19 +21,19 @@ class PHPWord_Style_CellTest extends \PHPUnit_Framework_TestCase $object = new PHPWord_Style_Cell(); $attributes = array( - 'valign' => null, - 'textDirection' => null, - 'bgColor' => null, - 'borderTopSize' => null, - 'borderTopColor' => null, - 'borderLeftSize' => null, - 'borderLeftColor' => null, - 'borderRightSize' => null, - 'borderRightColor' => null, - 'borderBottomSize' => null, - 'borderBottomColor' => null, - 'gridSpan' => null, - 'vMerge' => null, + 'valign' => 'left', + 'textDirection' => PHPWord_Style_Cell::TEXT_DIR_BTLR, + 'bgColor' => 'FFFF00', + 'borderTopSize' => 120, + 'borderTopColor' => 'FFFF00', + 'borderLeftSize' => 120, + 'borderLeftColor' => 'FFFF00', + 'borderRightSize' => 120, + 'borderRightColor' => 'FFFF00', + 'borderBottomSize' => 120, + 'borderBottomColor' => 'FFFF00', + 'gridSpan' => 2, + 'vMerge' => 2, ); //'defaultBorderColor' => null, foreach ($attributes as $key => $value) {