for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverStripe\StaticPublishQueue\Dev;
use SilverStripe\Control\CookieJar;
use SilverStripe\Dev\TestOnly;
/**
* Test only version of @see CookieJar to provide ability to skip cookies output as it may cause unit test failures
* for tests which execute output rendering such as static cache jobs
*/
class CookieJarMock extends CookieJar implements TestOnly
{
public function set($name, $value, $expiry = 90, $path = null, $domain = null, $secure = false, $httpOnly = true)
// No op
}
public function forceExpiry($name, $path = null, $domain = null, $secure = false, $httpOnly = true)