nextcloud/tests/lib/AppFramework/Db
Thomas Citharel 1c0342af58 Fix reading blob data as resource
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).

Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.

Now we read the stream correctly if the returned data is a resource

See context at #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 16:03:19 +00:00
..
EntityTest.php Fix reading blob data as resource 2022-07-25 16:03:19 +00:00
MapperTest.php
MapperTestUtility.php
QBMapperTest.php