summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-05-09 08:54:30 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-05-09 08:54:30 +0200
commit108bd26856327f13e9bab1748838e4a37881ab64 (patch)
tree9c7452063f4d58156c76dfd5369fcfeb7ff9c948
parentfdda980c2f3e23d98b56cae47e51e0d26a68f39b (diff)
downloadnextcloud-server-108bd26856327f13e9bab1748838e4a37881ab64.tar.gz
nextcloud-server-108bd26856327f13e9bab1748838e4a37881ab64.zip
Fix unit tests broken after #24457
Timeout was increased but tests were not updated.
-rw-r--r--tests/lib/ocsclienttest.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/lib/ocsclienttest.php b/tests/lib/ocsclienttest.php
index 66e4c4b938e..7555562d124 100644
--- a/tests/lib/ocsclienttest.php
+++ b/tests/lib/ocsclienttest.php
@@ -107,7 +107,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/categories',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -156,7 +156,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/categories',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -240,7 +240,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/categories',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -290,7 +290,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => [
'version' => implode('x', [8, 1, 0, 7]),
'filter' => 'approved',
@@ -347,7 +347,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => [
'version' => implode('x', [8, 1, 0, 7]),
'filter' => 'approved',
@@ -483,7 +483,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => [
'version' => implode('x', [8, 1, 0, 7]),
'filter' => 'approved',
@@ -573,7 +573,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data/MyId',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -622,7 +622,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data/MyId',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -750,7 +750,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data/166053',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -886,7 +886,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data/166053',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -951,7 +951,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/data/MyId',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -993,7 +993,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/download/MyId/1',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -1042,7 +1042,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/download/MyId/1',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)
@@ -1109,7 +1109,7 @@ class OCSClientTest extends \Test\TestCase {
->with(
'https://api.owncloud.com/v1/content/download/MyId/1',
[
- 'timeout' => 5,
+ 'timeout' => 20,
'query' => ['version' => '8x1x0x7'],
]
)