Misago\ActionController

Classes:

Functions:

protect_against_forgery()

Returns true if we want to protect against forgeries, false otherwise.

Since using tokens in a test environment is troublesome, you may disable it completely by setting 'action_controller.protect_against_forgeries':

cfg_set('action_controller.allow_forgery_protection', false); 

form_authenticity_token()

token_tag()