Fix unit tests broken after #24457

Timeout was increased but tests were not updated.
This commit is contained in:
Roeland Jago Douma 2016-05-09 08:54:30 +02:00
parent fdda980c2f
commit 108bd26856
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 14 additions and 14 deletions

View File

@ -107,7 +107,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/categories', 'https://api.owncloud.com/v1/content/categories',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -156,7 +156,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/categories', 'https://api.owncloud.com/v1/content/categories',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -240,7 +240,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/categories', 'https://api.owncloud.com/v1/content/categories',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -290,7 +290,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data', 'https://api.owncloud.com/v1/content/data',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => [ 'query' => [
'version' => implode('x', [8, 1, 0, 7]), 'version' => implode('x', [8, 1, 0, 7]),
'filter' => 'approved', 'filter' => 'approved',
@ -347,7 +347,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data', 'https://api.owncloud.com/v1/content/data',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => [ 'query' => [
'version' => implode('x', [8, 1, 0, 7]), 'version' => implode('x', [8, 1, 0, 7]),
'filter' => 'approved', 'filter' => 'approved',
@ -483,7 +483,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data', 'https://api.owncloud.com/v1/content/data',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => [ 'query' => [
'version' => implode('x', [8, 1, 0, 7]), 'version' => implode('x', [8, 1, 0, 7]),
'filter' => 'approved', 'filter' => 'approved',
@ -573,7 +573,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data/MyId', 'https://api.owncloud.com/v1/content/data/MyId',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -622,7 +622,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data/MyId', 'https://api.owncloud.com/v1/content/data/MyId',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -750,7 +750,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data/166053', 'https://api.owncloud.com/v1/content/data/166053',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -886,7 +886,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data/166053', 'https://api.owncloud.com/v1/content/data/166053',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -951,7 +951,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/data/MyId', 'https://api.owncloud.com/v1/content/data/MyId',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -993,7 +993,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/download/MyId/1', 'https://api.owncloud.com/v1/content/download/MyId/1',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -1042,7 +1042,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/download/MyId/1', 'https://api.owncloud.com/v1/content/download/MyId/1',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )
@ -1109,7 +1109,7 @@ class OCSClientTest extends \Test\TestCase {
->with( ->with(
'https://api.owncloud.com/v1/content/download/MyId/1', 'https://api.owncloud.com/v1/content/download/MyId/1',
[ [
'timeout' => 5, 'timeout' => 20,
'query' => ['version' => '8x1x0x7'], 'query' => ['version' => '8x1x0x7'],
] ]
) )