public function testAssignView(): void
{
- $this->createValidContainerMockSet();
-
$this->assignTemplateVars($this->assignedValues);
$self = $this->controller->assignView('variableName', 'variableValue');
public function testRender(): void
{
- $this->createValidContainerMockSet();
-
$this->assignTemplateVars($this->assignedValues);
$this->container->bookmarkService
*/
public function testRedirectFromRefererDefault(): void
{
- $this->createValidContainerMockSet();
-
$this->container->environment['HTTP_REFERER'] = 'http://shaarli.tld/subfolder/controller?query=param&other=2';
$response = new Response();
*/
public function testRedirectFromRefererWithUnmatchedLoopTerm(): void
{
- $this->createValidContainerMockSet();
-
$this->container->environment['HTTP_REFERER'] = 'http://shaarli.tld/subfolder/controller?query=param&other=2';
$response = new Response();
*/
public function testRedirectFromRefererWithMatchingLoopTermInPath(): void
{
- $this->createValidContainerMockSet();
-
$this->container->environment['HTTP_REFERER'] = 'http://shaarli.tld/subfolder/controller?query=param&other=2';
$response = new Response();
*/
public function testRedirectFromRefererWithMatchingLoopTermInQueryParam(): void
{
- $this->createValidContainerMockSet();
-
$this->container->environment['HTTP_REFERER'] = 'http://shaarli.tld/subfolder/controller?query=param&other=2';
$response = new Response();
*/
public function testRedirectFromRefererWithMatchingLoopTermInQueryValue(): void
{
- $this->createValidContainerMockSet();
-
$this->container->environment['HTTP_REFERER'] = 'http://shaarli.tld/subfolder/controller?query=param&other=2';
$response = new Response();
*/
public function testRedirectFromRefererWithLoopTermInDomain(): void
{
- $this->createValidContainerMockSet();
-
$this->container->environment['HTTP_REFERER'] = 'http://shaarli.tld/subfolder/controller?query=param&other=2';
$response = new Response();
*/
public function testRedirectFromRefererWithMatchingClearedParam(): void
{
- $this->createValidContainerMockSet();
-
$this->container->environment['HTTP_REFERER'] = 'http://shaarli.tld/subfolder/controller?query=param&other=2';
$response = new Response();