aboutsummaryrefslogtreecommitdiffstats
path: root/apps/testing
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-26 11:31:17 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-10-26 11:31:17 +0200
commit4e625f66355d74837a80b099411d92691f6d142a (patch)
tree6194f3fac29229e7da5fcaa29aca53c26de3a69b /apps/testing
parent14d1c186655889803774aba73f47a7b174303cc1 (diff)
downloadnextcloud-server-4e625f66355d74837a80b099411d92691f6d142a.tar.gz
nextcloud-server-4e625f66355d74837a80b099411d92691f6d142a.zip
fix(TextToImage): Update testing provider to new interface
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps/testing')
-rw-r--r--apps/testing/lib/Provider/FakeText2ImageProvider.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/testing/lib/Provider/FakeText2ImageProvider.php b/apps/testing/lib/Provider/FakeText2ImageProvider.php
index dbedea3995b..a3728894a2c 100644
--- a/apps/testing/lib/Provider/FakeText2ImageProvider.php
+++ b/apps/testing/lib/Provider/FakeText2ImageProvider.php
@@ -41,4 +41,8 @@ class FakeText2ImageProvider implements IProvider {
public function getExpectedRuntime(): int {
return 1;
}
+
+ public function getId(): string {
+ return 'testing-fake-text2image-provider';
+ }
}