nextcloud/tests
Lukas Reschke 048139074d Add functions to modify cookies to response class
Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code.

This PR adds some basic functionalities to add and invalidate cookies.

Usage:
```php
$response = new TemplateResponse(...);
$response->addCookie('foo', 'bar');
$response->invalidateCookie('foo');
$response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00'));
```

Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
2014-11-27 14:19:00 +01:00
..
acceptance correct delete-icon to icon-delete, fix #11128 2014-09-22 18:17:33 +02:00
core/lostpassword/controller Use correct route instead 2014-11-17 17:50:19 +01:00
data handle invalid xml file 2014-11-25 11:53:28 +01:00
lib Add functions to modify cookies to response class 2014-11-27 14:19:00 +01:00
settings/controller Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
apps.php load test cases from enabled apps 2012-10-08 14:26:51 +02:00
bootstrap.php Load apps in test situations 2014-09-10 17:28:25 +02:00
enable_all.php fix trash bin expire operation and add unit tests 2014-06-17 22:36:30 +02:00
karma.config.js migrate jQuery to bower 2014-11-04 14:28:29 +01:00
phpunit-autotest.xml Remove testcleanuplistener.php 2014-11-20 15:26:27 +01:00
phpunit.xml.dist Warn for password reset when files_encryption is enabled 2014-11-17 17:50:19 +01:00
preseed-config.php adding new config parameter for sqlite to specify the journal mode 2014-11-25 16:29:06 +01:00
startsessionlistener.php kill OC::$session 2014-08-29 10:22:21 +02:00