Author: kn Date: Tue Dec 11 13:48:03 2007 New Revision: 6964 Log: - Use __toString call for testing, to work with PHP 5.1
Modified: trunk/Graph/tests/struct_test.php Modified: trunk/Graph/tests/struct_test.php ============================================================================== --- trunk/Graph/tests/struct_test.php [iso-8859-1] (original) +++ trunk/Graph/tests/struct_test.php [iso-8859-1] Tue Dec 11 13:48:03 2007 @@ -245,7 +245,7 @@ $this->assertSame( '( 2.00, 5.00 )', - (string) $coordinate, + $coordinate->__toString(), 'Wrong value when converting ezcGraphCoordinate to string.' ); } -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components