summaryrefslogtreecommitdiffstats
path: root/tests/chart_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-08-18 10:09:06 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-08-18 10:09:06 +0000
commit94953ea4f75810e5e667425bfd55ce8d51672ee3 (patch)
treeb6e34c66f1031c2834c3578a7e80382710c2f362 /tests/chart_test.php
parente981be4dca177e235f6aa9b597d4a99c0a2cf875 (diff)
downloadzetacomponents-graph-94953ea4f75810e5e667425bfd55ce8d51672ee3.zip
zetacomponents-graph-94953ea4f75810e5e667425bfd55ce8d51672ee3.tar.gz
- Moved properties to properties array
- Fixed bug: Legend title was rendered, even when empty
Diffstat (limited to 'tests/chart_test.php')
-rw-r--r--tests/chart_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/chart_test.php b/tests/chart_test.php
index 8999921..4ebf8ae 100644
--- a/tests/chart_test.php
+++ b/tests/chart_test.php
@@ -101,7 +101,7 @@ class ezcGraphChartTest extends ezcTestCase
$this->assertEquals(
ezcGraphColor::fromHex( 'FF0000' ),
- $this->getAttribute( $pieChart->background, 'background' )
+ $pieChart->background->color
);
}
@@ -112,7 +112,7 @@ class ezcGraphChartTest extends ezcTestCase
$this->assertEquals(
ezcGraphColor::fromHex( 'FF0000' ),
- $this->getAttribute( $pieChart->background, 'border' )
+ $pieChart->background->border
);
}
@@ -121,7 +121,7 @@ class ezcGraphChartTest extends ezcTestCase
$pieChart = new ezcGraphPieChart();
$pieChart->background->borderWidth = 3;
- $this->assertSame( 3, $this->getAttribute( $pieChart->background, 'borderWidth' ) );
+ $this->assertSame( 3, $pieChart->background->borderWidth );
}
public function testSetOptionsUnknown()
OpenPOWER on IntegriCloud