diff options
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'; |