From 4bf5bab5962af6c03c280a23e184d5a23d25d3ea Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Wed, 25 Nov 2009 05:44:27 +0000 Subject: [PATCH] The constructor generates that next line of output, so the expected output had these 2 lines in the wrong order. Test your tests! --- ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt index 18ef17b7c2..9c54dc2f6e 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt @@ -142,8 +142,8 @@ object(myclass)#%d (1) { } Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it... -myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}') myclass::__construct(PDO shall call __construct()) +myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}') object(myclass)#%d (2) { [%u|b%"myprotected":protected]=> %unicode|string%(19) "a protected propery" -- 2.50.1