summaryrefslogtreecommitdiffstats
path: root/tests/chart_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-05-09 15:05:17 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-05-09 15:05:17 +0000
commit89cf5d2c835e6eaf88eeeacbd131e3e333089669 (patch)
tree0367a21228cc44c3595828361767616575b7dd4e /tests/chart_test.php
parent79f77a2208ae2137d99834fe50639ef1176a5d5e (diff)
downloadzetacomponents-graph-89cf5d2c835e6eaf88eeeacbd131e3e333089669.zip
zetacomponents-graph-89cf5d2c835e6eaf88eeeacbd131e3e333089669.tar.gz
- Updated test for changed FileNotFound exception
Diffstat (limited to 'tests/chart_test.php')
-rw-r--r--tests/chart_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chart_test.php b/tests/chart_test.php
index fdeede0..ba084c7 100644
--- a/tests/chart_test.php
+++ b/tests/chart_test.php
@@ -108,7 +108,7 @@ class ezcGraphChartTest extends ezcTestCase
$pieChart = ezcGraph::create( 'Pie' );
$pieChart->options->backgroundImage = $this->basePath . $this->testFiles['nonexistant'];
}
- catch ( ezcGraphFileNotFoundException $e )
+ catch ( ezcBaseFileNotFoundException $e )
{
return true;
}
@@ -117,7 +117,7 @@ class ezcGraphChartTest extends ezcTestCase
$this->fail( $e->getMessage() );
}
- $this->fail( 'Expected ezcGraphFileNotFoundException' );
+ $this->fail( 'Expected ezcBaseFileNotFoundException' );
}
public function testSetOptionsBackground()
OpenPOWER on IntegriCloud