summaryrefslogtreecommitdiffstats
path: root/apps/testing/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-22 12:21:48 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-10-22 12:21:48 +0200
commit6b6ac72fe63659bcf5643f2d3b888105bc64f106 (patch)
tree66a9e63f27e6415fff284880727e1ec7df31caee /apps/testing/lib
parentb1018597bc1412d892ea9e2518d5b17bbed15185 (diff)
downloadnextcloud-server-6b6ac72fe63659bcf5643f2d3b888105bc64f106.tar.gz
nextcloud-server-6b6ac72fe63659bcf5643f2d3b888105bc64f106.zip
fix(Text2Image): Fix FakeText2ImageProvider in testing app
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps/testing/lib')
-rw-r--r--apps/testing/lib/Provider/FakeText2ImageProvider.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/testing/lib/Provider/FakeText2ImageProvider.php b/apps/testing/lib/Provider/FakeText2ImageProvider.php
index 20efe427e16..dbedea3995b 100644
--- a/apps/testing/lib/Provider/FakeText2ImageProvider.php
+++ b/apps/testing/lib/Provider/FakeText2ImageProvider.php
@@ -34,6 +34,7 @@ class FakeText2ImageProvider implements IProvider {
foreach ($resources as $resource) {
$read = fopen(__DIR__ . '/../../img/logo.png', 'r');
stream_copy_to_stream($read, $resource);
+ fclose($read);
}
}