symfony/symfony — pull request #3359 by drak (2012-02-15 01:38:10+00:00)
Title: [HttpKernel] Fixed failing tests due to incorrect parameters

Incorrect params for `Memcached::set()` see http://php.net/manual/en/memcached.set.php

__These tests really be using test doubles imo.__

Fixes the following errors:

```
There were 6 errors:

1) Symfony\Tests\Component\HttpKernel\Profiler\MemcachedProfilerStorageTest::testStore
Memcached::set() expects at most 3 parameters, 4 given

/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/MemcachedProfilerStorage.php:70
/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php:127
/home/dordrak/www/symfony/tests/Symfony/Tests/Component/HttpKernel/Profiler/MemcachedProfilerStorageTest.php:61

2) Symfony\Tests\Component\HttpKernel\Profiler\MemcachedProfilerStorageTest::testChildren
Memcached::set() expects at most 3 parameters, 4 given

/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/MemcachedProfilerStorage.php:70
/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php:127
/home/dordrak/www/symfony/tests/Symfony/Tests/Component/HttpKernel/Profiler/MemcachedProfilerStorageTest.php:79

3) Symfony\Tests\Component\HttpKernel\Profiler\MemcachedProfilerStorageTest::testStoreSpecialCharsInUrl
Memcached::set() expects at most 3 parameters, 4 given

/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/MemcachedProfilerStorage.php:70
/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php:127
/home/dordrak/www/symfony/tests/Symfony/Tests/Component/HttpKernel/Profiler/MemcachedProfilerStorageTest.php:102

4) Symfony\Tests\Component\HttpKernel\Profiler\MemcachedProfilerStorageTest::testStoreDuplicateToken
Memcached::set() expects at most 3 parameters, 4 given

/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/MemcachedProfilerStorage.php:70
/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php:127
/home/dordrak/www/symfony/tests/Symfony/Tests/Component/HttpKernel/Profiler/MemcachedProfilerStorageTest.php:126

5) Symfony\Tests\Component\HttpKernel\Profiler\MemcachedProfilerStorageTest::testRetrieveByIp
Memcached::set() expects at most 3 parameters, 4 given

/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/MemcachedProfilerStorage.php:70
/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php:127
/home/dordrak/www/symfony/tests/Symfony/Tests/Component/HttpKernel/Profiler/MemcachedProfilerStorageTest.php:142

6) Symfony\Tests\Component\HttpKernel\Profiler\MemcachedProfilerStorageTest::testRetrieveByUrl
Memcached::set() expects at most 3 parameters, 4 given

/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/MemcachedProfilerStorage.php:70
/home/dordrak/www/symfony/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php:127
/home/dordrak/www/symfony/tests/Symfony/Tests/Component/HttpKernel/Profiler/MemcachedProfilerStorageTest.php:155
```