aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/RichObjectStrings/DefinitionsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/RichObjectStrings/DefinitionsTest.php')
-rw-r--r--tests/lib/RichObjectStrings/DefinitionsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/RichObjectStrings/DefinitionsTest.php b/tests/lib/RichObjectStrings/DefinitionsTest.php
index 9299a556972..cc964aff50f 100644
--- a/tests/lib/RichObjectStrings/DefinitionsTest.php
+++ b/tests/lib/RichObjectStrings/DefinitionsTest.php
@@ -10,7 +10,7 @@ use OCP\RichObjectStrings\Definitions;
use Test\TestCase;
class DefinitionsTest extends TestCase {
- public function dataGetDefinition() {
+ public static function dataGetDefinition() {
$definitions = new Definitions();
$testsuite = [];
foreach ($definitions->definitions as $type => $definition) {
@@ -19,7 +19,7 @@ class DefinitionsTest extends TestCase {
return $testsuite;
}
-
+
public function testGetDefinitionNotExisting(): void {
$this->expectException(\OCP\RichObjectStrings\InvalidObjectExeption::class);
$this->expectExceptionMessage('Object type is undefined');