1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-10 03:36:31 +02:00
Commit Graph

46 Commits

Author SHA1 Message Date
0386b1788a [ticket/13008] Add functionnal test
PHPBB3-13008
2014-08-24 15:17:50 +02:00
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
e07f314117 [ticket/12261] Mark test as incomplete, something is wrong with sessions
PHPBB3-12261
2014-03-11 11:05:27 +01:00
fe63ac888f [ticket/12261] Fix doc block
PHPBB3-12261
2014-03-10 17:09:28 +01:00
f43da31bba [ticket/12261] Validate the redirect hidden field before submitting the form
PHPBB3-12261
2014-03-10 15:27:48 +01:00
e8fdc1545a [ticket/12261] Add a functional test for redirect after using login_box()
PHPBB3-12261
2014-03-10 12:35:30 +01:00
68ce16f9b3 [ticket/11997] Use path_helper in in foo/bar extension for redirect URLs
By using path_helper's clean_url() method, we'll be able to properly check
the full URL instead of just parts of the expected URL.

PHPBB3-11997
2013-12-27 17:55:14 +01:00
235d2069e0 [ticket/11997] Allow redirects to parent folders like previously
Redirects to parent folders were possible with the previous redirect function.
This change will allow these redirects again.

PHPBB3-11997
2013-12-21 16:31:20 +01:00
15913fdf79 [ticket/11997] Move expected redirect returns to controller and output to HTML
The controller will now output the expected redirect returns the same way the
redirect returns are output. The extension controller test will compare those
2 outputs.

PHPBB3-11997
2013-12-20 18:13:53 +01:00
47ea6bc9e6 Merge branch 'develop' of https://github.com/phpbb/phpbb into ticket/11997
Conflicts:
	tests/functional/fixtures/ext/foo/bar/config/services.yml
2013-12-07 13:32:19 +01:00
f32a30eeca [ticket/11997] Fix tests for path_helper's get_controller_redirect_url()
PHPBB3-11997
2013-12-07 13:28:44 +01:00
4e2bb6ef53 [ticket/12017] Copy config/ dir so events work
PHPBB3-12017
2013-11-14 00:14:53 +01:00
a0fca0acc2 [ticket/11997] Add functional test for redirects in controller
PHPBB3-11997
2013-11-13 16:30:20 +01:00
fe36375a36 [ticket/11700] Fix extension loading with namespaces
class loader now expects all classes to be prefixed with a backslash
when resolving paths

PHPBB3-11700
2013-09-19 18:29:08 +02:00
73859da481 [ticket/11215] Use new URL structure for controllers
In tests, the old app.php?controller=foo structure was used. Instead
it should be app.php/foo.

PHPBB3-11215
2013-08-31 14:51:28 -07:00
057d860d07 [ticket/11696] Rename db_tools.php so it can be autoloaded
PHPBB3-11696
2013-07-14 10:10:05 -04:00
68d15f0f14 [ticket/11550] Move comments to correct function
PHPBB3-11550
2013-06-11 11:14:24 +02:00
7546c3a7a7 [ticket/11550] Fixtures should only be directories not files
PHPBB3-11550
2013-06-08 17:14:20 +02:00
a61ab1e5e4 [ticket/11550] Use new functionality from the test case helpers
Instead of duplicating the extension copy code, it is now in the helpers.
So we remove the code from existing tests.

PHPBB3-11550
2013-06-08 17:07:35 +02:00
8c4670eeb1 Merge branch 'ticket/11568' into ticket/11568-develop
* ticket/11568:
  [ticket/11568] Split status code and html debug assertion into two methods
  [ticket/11568] Add comma at end of array key-value couple
  [ticket/11568] Invert logic for asserting the response
  [ticket/11568] Use static calls for static methods

Conflicts:
	tests/test_framework/phpbb_functional_test_case.php
2013-05-31 16:45:06 +02:00
5c046b9493 [ticket/develop/11568] Remove unneccessary second call with wrong arguments
PHPBB3-11568
2013-05-30 16:16:49 +02:00
a36defb10f [ticket/develop/11568] Fix some more tests in 3.1
PHPBB3-11568
2013-05-30 13:26:16 +02:00
f1523944a0 [ticket/develop/11568] Remove unneccessary calls to assert_response_success()
PHPBB3-11568
2013-05-28 14:58:40 +02:00
467c4d62c4 [ticket/develop/11568] Do not directly access $client from tests
PHPBB3-11568
2013-05-28 14:55:04 +02:00
01ec608593 [feature/controller] Fix comments, check against more general HttpException
PHPBB3-10864
2012-11-19 12:55:15 -05:00
f8614bfc84 [feature/controller] Check for proper status codes from controllers
PHPBB3-10864
2012-11-19 12:37:20 -05:00
7a3d9ed85d [feature/controller] Fix functional tests to use query string for controllers
PHPBB3-10864
2012-11-18 13:11:24 -05:00
4efbb893b7 [feature/controller] Fix line endings and permissions, and check responses
PHPBB3-10864
2012-11-16 17:36:39 -05:00
5b013ddf5c [feature/controller] Add controller functional test with template
PHPBB3-10864
2012-11-16 17:06:01 -05:00
ba1acdca03 [feature/controller] Use warning instead of echo for copy() and unlink()
PHPBB3-10864
2012-11-16 17:06:00 -05:00
0c75d3d7da [feature/controller] Add test for missing argument in controller class
PHPBB3-10864
2012-11-16 17:05:57 -05:00
7691755883 [feature/controller] Adapt functional tests given new controller framework
PHPBB3-10864
2012-11-16 17:05:54 -05:00
8917b31e31 [ticket/11202] Check response success before content assertions.
This does not change tests that perform requests which are either
clearly not supposed to succeed or are a gray area.

PHPBB3-11202
2012-11-15 14:54:13 -05:00
5b96b5fce7 [ticket/10837] Removed tearDownAfterClass() from extension_controller_test.php
PHPBB3-10837
2012-05-07 10:39:49 -04:00
7c3ebcc3ff [ticket/10586] Added space in if statement
PHPBB3-10586
2012-03-28 15:34:24 -04:00
6a0bad8c0b [ticket/10586] Tests finally work (thanks naderman)
PHPBB3-10586
2012-03-19 09:56:48 -04:00
1bbb32a5cf [ticket/10586] Correctly purge board cache and don't rename install directory
PHPBB3-10586
2012-03-19 09:12:34 -04:00
76e6195194 [ticket/10586] trying to get tests to work
PHPBB3-10586
2012-03-19 09:12:34 -04:00
7d1e4bca33 [ticket/10586] more work on getting tests to pass
PHPBB3-10586
2012-03-19 09:12:34 -04:00
4100b312bb [ticket/10586] Tests are coming along, just a little more to go
PHPBB3-10586
2012-03-19 09:12:33 -04:00
e78585c973 [ticket/10586] Rename install directory back to install/ after tests
PHPBB3-10586
2012-03-19 09:12:33 -04:00
66b45318ef [ticket/10586] browse tests now work, but mine dont. at least we are making progress
PHPBB3-10586
2012-03-19 09:12:33 -04:00
7b44d6f21a [ticket/10586] initial work on copying fixtures. Note that this depends on 10706
PHPBB3-10586
2012-03-19 09:12:33 -04:00
a37a28b485 [ticket/10586] Now tests run, but fail. But here is what I have.
PHPBB3-10586
2012-03-19 09:12:33 -04:00
9212466626 [ticket/10586] some bootstrap additions and test changes to try and make it work
PHPBB3-10586
2012-03-19 09:12:32 -04:00
401de113f9 [ticket/10586] test stuff. does not work yet, still need to put phpBB objects in bootstrap.php 2012-03-19 09:12:32 -04:00