summaryrefslogtreecommitdiffstats
path: root/tests/numeric_axis_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/numeric_axis_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/numeric_axis_test.php')
-rw-r--r--tests/numeric_axis_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/numeric_axis_test.php b/tests/numeric_axis_test.php
index 26ce3b7..08ea13b 100644
--- a/tests/numeric_axis_test.php
+++ b/tests/numeric_axis_test.php
@@ -60,22 +60,22 @@ class ezcGraphNumericAxisTest extends ezcTestCase
$this->assertEquals(
10.,
- $this->getAttribute( $chart->yAxis, 'min' )
+ $chart->yAxis->min
);
$this->assertEquals(
50.,
- $this->getAttribute( $chart->yAxis, 'max' )
+ $chart->yAxis->max
);
$this->assertEquals(
10.,
- $this->getAttribute( $chart->yAxis, 'majorStep' )
+ $chart->yAxis->majorStep
);
$this->assertEquals(
1.,
- $this->getAttribute( $chart->yAxis, 'minorStep' )
+ $chart->yAxis->minorStep
);
}
OpenPOWER on IntegriCloud