summaryrefslogtreecommitdiffstats
path: root/tests/line_test.php
diff options
context:
space:
mode:
authorSebastian Bergmann <sb@sebastian-bergmann.de>2006-08-14 14:08:39 +0000
committerSebastian Bergmann <sb@sebastian-bergmann.de>2006-08-14 14:08:39 +0000
commit07af754620fd064b0d83345f2edcc00f3afa5a98 (patch)
tree9fab249bb8822bbc1dcacfdbf9c558288fdb3e51 /tests/line_test.php
parent48155e33dd6901e3966d9b151d837bcbdc8e9968 (diff)
downloadzetacomponents-graph-07af754620fd064b0d83345f2edcc00f3afa5a98.zip
zetacomponents-graph-07af754620fd064b0d83345f2edcc00f3afa5a98.tar.gz
Update UnitTest component and unit tests to work with PHPUnit >= 3.0.0alpha12. This is also the required version of PHPUnit now.
Diffstat (limited to 'tests/line_test.php')
-rw-r--r--tests/line_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/line_test.php b/tests/line_test.php
index bf04926..013c4b3 100644
--- a/tests/line_test.php
+++ b/tests/line_test.php
@@ -62,7 +62,7 @@ class ezcGraphLineChartTest extends ezcTestCase
$this->addSampleData( $chart );
$chart->render( 500, 200 );
- $legend = $this->getNonPublicProperty( $chart->legend, 'labels' );
+ $legend = $this->getAttribute( $chart->legend, 'labels' );
$this->assertEquals(
3,
OpenPOWER on IntegriCloud