summaryrefslogtreecommitdiffstats
path: root/tests/pie_test.php
diff options
context:
space:
mode:
authorSebastian Bergmann <sb@sebastian-bergmann.de>2007-07-02 10:02:22 +0000
committerSebastian Bergmann <sb@sebastian-bergmann.de>2007-07-02 10:02:22 +0000
commit31fd34c1c1f5d03c9eddac0683c45df8c06db6e0 (patch)
tree2b7a14813636000127c7a71c51727f8235247bef /tests/pie_test.php
parent7af2cca9ba5b3ab1e71bad2fd52b902ae111265d (diff)
downloadzetacomponents-graph-31fd34c1c1f5d03c9eddac0683c45df8c06db6e0.zip
zetacomponents-graph-31fd34c1c1f5d03c9eddac0683c45df8c06db6e0.tar.gz
- PHPUnit 3.1 Migration
- Migrate PHPUnit_Framework_Assert::getAttribute() to PHPUnit_Framework_Assert::readAttribute(). - Use PHPUnit_Framework_TestCase::setLocale(). - Populate code coverage whitelist from autoload arrays. - Remove ezcTestRunner::addFileToFilter(). # PHPUnit 3.1 is now required.
Diffstat (limited to 'tests/pie_test.php')
-rw-r--r--tests/pie_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pie_test.php b/tests/pie_test.php
index 5ddf66a..3a8a280 100644
--- a/tests/pie_test.php
+++ b/tests/pie_test.php
@@ -179,7 +179,7 @@ class ezcGraphPieChartTest extends ezcGraphTestCase
$chart->data['sampleData'] = new ezcGraphArrayDataSet( array( 'sample 1' => 234, 'sample 2' => 21, 'sample 3' => 324, 'sample 4' => 120, 'sample 5' => 1 ) );
$chart->render( 500, 200 );
- $legend = $this->getAttribute( $chart->legend, 'labels' );
+ $legend = $this->readAttribute( $chart->legend, 'labels' );
$this->assertEquals(
5,
OpenPOWER on IntegriCloud