diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-01-15 15:18:55 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-01-18 12:08:58 +0100 |
commit | 7ba715d14418f8cb8703528f7373d76492410e38 (patch) | |
tree | dd5feb8ad03a1c739fcf5a8681643cb309f5489e /tests/lib/db | |
parent | 7e01f32c27726a50d0f7761dda70b4e34a5e421d (diff) | |
download | nextcloud-server-7ba715d14418f8cb8703528f7373d76492410e38.tar.gz nextcloud-server-7ba715d14418f8cb8703528f7373d76492410e38.zip |
fix test
Diffstat (limited to 'tests/lib/db')
-rw-r--r-- | tests/lib/db/connection.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/lib/db/connection.php b/tests/lib/db/connection.php index 51b4145b7a0..dd9b31f3ed7 100644 --- a/tests/lib/db/connection.php +++ b/tests/lib/db/connection.php @@ -105,7 +105,8 @@ class Connection extends \Test\TestCase { $this->connection->setValues('table', [ 'integerfield' => 1 ], [ - 'textfield' => 'foo' + 'textfield' => 'foo', + 'clobfield' => 'not_null' ]); $this->assertEquals('foo', $this->getTextValueByIntergerField(1)); @@ -118,7 +119,8 @@ class Connection extends \Test\TestCase { $this->connection->setValues('table', [ 'integerfield' => 1 ], [ - 'textfield' => 'foo' + 'textfield' => 'foo', + 'clobfield' => 'not_null' ]); $this->connection->setValues('table', [ @@ -138,7 +140,8 @@ class Connection extends \Test\TestCase { 'integerfield' => 1 ], [ 'textfield' => 'foo', - 'booleanfield' => true + 'booleanfield' => true, + 'clobfield' => 'not_null' ]); $this->connection->setValues('table', [ @@ -163,7 +166,8 @@ class Connection extends \Test\TestCase { 'integerfield' => 1 ], [ 'textfield' => 'foo', - 'booleanfield' => true + 'booleanfield' => true, + 'clobfield' => 'not_null' ]); $this->connection->setValues('table', [ |