diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-08-07 08:17:12 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-08-07 08:17:12 +0000 |
commit | 0c80b0f8ebf6c47237c9c99ea9f54248f1223df6 (patch) | |
tree | 54b87304e021327b7d00022a892f5cbcab00546c /tests/text_test.php | |
parent | b31a0055fe42a14356400ebe6d7a8e5bebb26240 (diff) | |
download | zetacomponents-graph-0c80b0f8ebf6c47237c9c99ea9f54248f1223df6.zip zetacomponents-graph-0c80b0f8ebf6c47237c9c99ea9f54248f1223df6.tar.gz |
- Removed factory methods and replaced them with direct class instantiation.
Diffstat (limited to 'tests/text_test.php')
-rw-r--r-- | tests/text_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/text_test.php b/tests/text_test.php index de303b8..74ec76c 100644 --- a/tests/text_test.php +++ b/tests/text_test.php @@ -43,7 +43,7 @@ class ezcGraphTextTest extends ezcTestCase public function testRenderTextTop() { - $chart = ezcGraph::create( 'Line' ); + $chart = new ezcGraphLineChart(); $chart['sample'] = array( 'foo' => 1, 'bar' => 10 ); $chart->title = 'Title of a chart'; @@ -69,7 +69,7 @@ class ezcGraphTextTest extends ezcTestCase public function testRenderTextBottom() { - $chart = ezcGraph::create( 'Line' ); + $chart = new ezcGraphLineChart(); $chart['sample'] = array( 'foo' => 1, 'bar' => 10 ); $chart->title = 'Title of a chart'; @@ -96,7 +96,7 @@ class ezcGraphTextTest extends ezcTestCase public function testRenderTextTopMargin() { - $chart = ezcGraph::create( 'Line' ); + $chart = new ezcGraphLineChart(); $chart['sample'] = array( 'foo' => 1, 'bar' => 10 ); $chart->title = 'Title of a chart'; |