diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-10-22 12:21:48 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-10-22 12:21:48 +0200 |
commit | 6b6ac72fe63659bcf5643f2d3b888105bc64f106 (patch) | |
tree | 66a9e63f27e6415fff284880727e1ec7df31caee /apps/testing/lib | |
parent | b1018597bc1412d892ea9e2518d5b17bbed15185 (diff) | |
download | nextcloud-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.php | 1 |
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); } } |