summaryrefslogtreecommitdiffstats
path: root/tests/palette_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-06-08 13:51:18 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-06-08 13:51:18 +0000
commitb1102203e9e73213b9cd3b9b8e5eec6177cdae70 (patch)
treeda3e0e242fa5710dfd2a22f3776ffb08673421c2 /tests/palette_test.php
parentcb55e4811f591b3db7f85519d500b4a0cfd88bf5 (diff)
downloadzetacomponents-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.php4
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 )
{
OpenPOWER on IntegriCloud