ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
cfg.phpunit.template.php
Go to the documentation of this file.
1<?php
2
3// Change these values to the user id, login and client id
4// that should be used for testing
5// after that, copy this file to
6// Services/PHPUnit/config/cfg.phpunit.php
7// After that, you can call phpunit from the ILIAS main directory with
8// the local path of your test files.
9
10$_SESSION["AccountId"] = '<user_id>';
11$_POST["username"] = '<user_login>';
12$_GET["client_id"] = '<client_id>';
13
14?>
$_GET["client_id"]
$_POST["username"]
$_SESSION["AccountId"]
An exception for terminatinating execution or to throw for unit testing.