[ticket/634] Add tests for clock module and improve tests for calendar
B3P-634
This commit is contained in:
20
tests/mock/check_form_key.php
Normal file
20
tests/mock/check_form_key.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace board3\portal\modules;
|
||||
|
||||
abstract class check_form_key
|
||||
{
|
||||
static public $form_key_valid = false;
|
||||
}
|
||||
|
||||
function check_form_key($value)
|
||||
{
|
||||
return check_form_key::$form_key_valid;
|
||||
}
|
||||
Reference in New Issue
Block a user