diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-11-03 17:24:06 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-12 12:57:50 +0100 |
commit | a35b0956f1eb741a1c16d9408048623cb9bc3c02 (patch) | |
tree | 98868c3def23a0f963750f3464e35a2e1875eeed /tests | |
parent | 140068e91d5a83b238f59b37b52e0cc333622470 (diff) | |
download | nextcloud-server-a35b0956f1eb741a1c16d9408048623cb9bc3c02.tar.gz nextcloud-server-a35b0956f1eb741a1c16d9408048623cb9bc3c02.zip |
Add github action for oci8
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppConfigTest.php | 5 | ||||
-rw-r--r-- | tests/lib/DB/testschema.xml | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/lib/AppConfigTest.php b/tests/lib/AppConfigTest.php index ff23454eb8b..40a99709bd5 100644 --- a/tests/lib/AppConfigTest.php +++ b/tests/lib/AppConfigTest.php @@ -9,6 +9,7 @@ namespace Test; +use OC\AppConfig; use OCP\IConfig; /** @@ -42,7 +43,7 @@ class AppConfigTest extends TestCase { $sql->delete('appconfig'); $sql->execute(); - $this->overwriteService('AppConfig', new \OC\AppConfig($this->connection)); + $this->overwriteService(AppConfig::class, new \OC\AppConfig($this->connection)); $sql = $this->connection->getQueryBuilder(); $sql->insert('appconfig') @@ -132,7 +133,7 @@ class AppConfigTest extends TestCase { $sql->execute(); } - $this->restoreService('AppConfig'); + $this->restoreService(AppConfig::class); parent::tearDown(); } diff --git a/tests/lib/DB/testschema.xml b/tests/lib/DB/testschema.xml index 5f449c936d9..d42dbe8d581 100644 --- a/tests/lib/DB/testschema.xml +++ b/tests/lib/DB/testschema.xml @@ -37,7 +37,7 @@ </field> <field> <name>clobfield</name> - <type>clob</type> + <type>text</type> </field> <field> <name>booleanfield</name> |