diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-11-03 19:24:06 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-10 17:34:35 +0300 |
commit | 2050517d44267facdbcd9e1d075fdfbd939aec4a (patch) | |
tree | 27c375064557a12c14469f58f5c6ceba99e31cc8 /tests | |
parent | f23c2162ad2d2883f08cc88c600a7d2ed4bd8a93 (diff) |
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> |