diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-06-08 13:51:18 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-06-08 13:51:18 +0000 |
commit | b1102203e9e73213b9cd3b9b8e5eec6177cdae70 (patch) | |
tree | da3e0e242fa5710dfd2a22f3776ffb08673421c2 /tests/palette_test.php | |
parent | cb55e4811f591b3db7f85519d500b4a0cfd88bf5 (diff) | |
download | zetacomponents-graph-b1102203e9e73213b9cd3b9b8e5eec6177cdae70.zip zetacomponents-graph-b1102203e9e73213b9cd3b9b8e5eec6177cdae70.tar.gz |
- Silented warning caused by autoload in devel mode
Diffstat (limited to 'tests/palette_test.php')
-rw-r--r-- | tests/palette_test.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/palette_test.php b/tests/palette_test.php index 9cdbec3..2d8c2c3 100644 --- a/tests/palette_test.php +++ b/tests/palette_test.php @@ -77,7 +77,9 @@ class ezcGraphPaletteTest extends ezcTestCase try { $chart = ezcGraph::create( 'Line' ); - $chart->palette = 'Undefined'; + // Silented, because this throws an E_WARNING in devel mode, + // caused by the non existing class ezcGraphPaletteUndefined + @$chart->palette = 'Undefined'; } catch ( ezcGraphUnknownPaletteException $e ) { |