History log of /dokuwiki/_test/core/TestRequest.php (Results 1 – 19 of 19)
Revision Date Author Comments
# 8f5f1b87 02-Feb-2023 Andreas Gohr <andi@splitbrain.org>

Revert "reset Event System in TestRequest"

This reverts commit d09a8e055b2b1ddb55da17403441e873517de553.

We have test that manipulate the event handler (eg. registering their
own events on that han

Revert "reset Event System in TestRequest"

This reverts commit d09a8e055b2b1ddb55da17403441e873517de553.

We have test that manipulate the event handler (eg. registering their
own events on that handler) which broke with above commit.

A better way needs to be found.

show more ...


# d09a8e05 01-Feb-2023 Andreas Gohr <andi@splitbrain.org>

reset Event System in TestRequest

To better simulate requests, event registration should be redone on each
simulated request.


# ec34bb30 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Update core code to make use of sexplode()

This makes use of our own explode mechanism everywhere were we expect a
fixed number of results.


# 3366d071 04-Feb-2021 Andreas Gohr <andi@splitbrain.org>

fix PHP8 errors in tests

These were problems within the tests itself. There are many more
problems in the actual code.


# ccc4c71c 19-Feb-2019 Andreas Gohr <andi@splitbrain.org>

adjusted the Input clases for PSR2

They are now in their own namespace.


# 27c0c399 02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

reworked notifications to the test system

No globals required anymore, somewhat more general approach to sending
data to the test system. Clean access through keys.


# 444d58a8 02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

no need for a global output buffer


# 1ada9e0a 02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

clean up of the TestRequest object

reformatting
fixing of doc blocks
making internal vars protected


# f5a56507 02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

Merge branch 'testcode-secedit' of https://github.com/LarsGit223/dokuwiki into LarsGit223-testcode-secedit

* 'testcode-secedit' of https://github.com/LarsGit223/dokuwiki:
do not hide fatal excepti

Merge branch 'testcode-secedit' of https://github.com/LarsGit223/dokuwiki into LarsGit223-testcode-secedit

* 'testcode-secedit' of https://github.com/LarsGit223/dokuwiki:
do not hide fatal exceptions during unit tests
never redirect from a redirect action
undo unecessary action routing adjustments
Test code for workflow 'show - sectionedit - save/cancel' (with modifications in test classes and 'send_redirect()' and 'act_dispatch()'.

show more ...


# 572dc222 27-Aug-2017 LarsDW223 <lars_paulsen@web.de>

Test code for workflow 'show - sectionedit - save/cancel' (with modifications in test classes and 'send_redirect()' and 'act_dispatch()'.


# e4f7f55e 24-Jul-2017 Yurii K <yurii-github@users.noreply.github.com>

allow tests against ajax requests


# 90394abd 17-Dec-2014 Andreas Gohr <gohr@cosmocode.de>

fix global environment during test requests


# fe717f57 04-Feb-2014 lisps <stummp@loewen.de>

fix content check test cases
add test case new Input check
add global variables to execute


# 9894e7af 22-Mar-2013 Christopher Smith <chris@jalakai.co.uk>

extend TestRequest class to test fetch & detail; add a test to check it does


# 4d053d04 29-Jun-2012 Andreas Gohr <andi@splitbrain.org>

moved URI setup to execute()


# 9e777cee 29-Jun-2012 Andreas Gohr <andi@splitbrain.org>

simplified using the TestRequest class

You now can call get() or post() on it and give it all the wanted
input variables


# 0189bd86 28-Jun-2012 Andreas Gohr <andi@splitbrain.org>

make sure all globals are available in test requests


# fbb9105e 25-Jun-2012 Andreas Gohr <gohr@cosmocode.de>

fixed tests

The test suite was missing a global keyword to access the $INPUT class.


# f8369d7d 18-Apr-2012 Tobias Sarnowski <sarnowski@cosmocode.de>

moved _testing to _test