diff options
-rw-r--r-- | tests/color_test.php | 6 | ||||
-rw-r--r-- | tests/struct_test.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/color_test.php b/tests/color_test.php index 11a3f3c..8a586e3 100644 --- a/tests/color_test.php +++ b/tests/color_test.php @@ -151,7 +151,7 @@ class ezcGraphColorTest extends ezcTestCase 'Wrong default value for property startPoint in class ezcGraphRadialGradient' ); - $color->startPoint = $coord = new ezcGraphCoordinate(); + $color->startPoint = $coord = new ezcGraphCoordinate( 5, 23 ); $this->assertSame( $coord, $color->startPoint, @@ -185,7 +185,7 @@ class ezcGraphColorTest extends ezcTestCase 'Wrong default value for property endPoint in class ezcGraphRadialGradient' ); - $color->endPoint = $coord = new ezcGraphCoordinate(); + $color->endPoint = $coord = new ezcGraphCoordinate( 5, 23 ); $this->assertSame( $coord, $color->endPoint, @@ -299,7 +299,7 @@ class ezcGraphColorTest extends ezcTestCase 'Wrong default value for property center in class ezcGraphRadialGradient' ); - $color->center = $coord = new ezcGraphCoordinate(); + $color->center = $coord = new ezcGraphCoordinate( 5, 23 ); $this->assertSame( $coord, $color->center, diff --git a/tests/struct_test.php b/tests/struct_test.php index 70333be..739eb9a 100644 --- a/tests/struct_test.php +++ b/tests/struct_test.php @@ -175,7 +175,7 @@ class ezcGraphStructTest extends ezcTestCase public function testCoordinateSetState() { - $context = new ezcGraphCoordinate(); + $context = new ezcGraphCoordinate( 0, 0 ); $context->__set_state( array( |