summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/logarithmical_axis_test.php4
-rw-r--r--tests/pie_test.php2
-rw-r--r--tests/renderer_3d_test.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/logarithmical_axis_test.php b/tests/logarithmical_axis_test.php
index ed2c594..08dfcd0 100644
--- a/tests/logarithmical_axis_test.php
+++ b/tests/logarithmical_axis_test.php
@@ -156,9 +156,9 @@ class ezcGraphLogarithmicalAxisTest extends ezcGraphTestCase
'Wrong default value for property logarithmicalFormatString in class ezcGraphChartElementLogarithmicalAxis'
);
- $options->logarithmicalFormatString = '%2$.2f^%1$d';
+ $options->logarithmicalFormatString = '%2$.2F^%1$d';
$this->assertSame(
- '%2$.2f^%1$d',
+ '%2$.2F^%1$d',
$options->logarithmicalFormatString,
'Setting property value did not work for property logarithmicalFormatString in class ezcGraphChartElementLogarithmicalAxis'
);
diff --git a/tests/pie_test.php b/tests/pie_test.php
index a6731d9..2652d03 100644
--- a/tests/pie_test.php
+++ b/tests/pie_test.php
@@ -68,7 +68,7 @@ class ezcGraphPieChartTest extends ezcGraphTestCase
$options = new ezcGraphPieChartOptions();
$this->assertSame(
- '%1$s: %2$d (%3$.1f%%)',
+ '%1$s: %2$d (%3$.1F%%)',
$options->label,
'Wrong default value for property label in class ezcGraphPieChartOptions'
);
diff --git a/tests/renderer_3d_test.php b/tests/renderer_3d_test.php
index 90d22f3..6482ded 100644
--- a/tests/renderer_3d_test.php
+++ b/tests/renderer_3d_test.php
@@ -443,7 +443,7 @@ class ezcGraphRenderer3dTest extends ezcGraphTestCase
'Used' => 28,
) );
- $graph->options->label = '%1$s (%3$.1f%%)';
+ $graph->options->label = '%1$s (%3$.1F%%)';
// Configure renderer options
$graph->renderer = new ezcGraphRenderer3d();
OpenPOWER on IntegriCloud