During test execution, all wp_die() calls should throw an exception.

If the wp_die() call is not expected, the test will result in an error. Expected wp_die() calls may be caught with $this->setExpectedException( $exception ), @expectedException, etc. For more, see http://www.phpunit.de/manual/3.8/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.exceptions.



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@1221 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Revert parts of [1215] to reflects changes for #WP21767


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@1230 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Use require_once to load includes/functions.php

fixes #23690

git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@1232 4a5a2adb-35eb-4268-9a1b-fe04a4134342