mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 14:18:24 +01:00
[ticket/16549] Rename class phpbb_lint_test rather than the test file
PHPBB3-16549
This commit is contained in:
parent
cc753db132
commit
fff200b1d8
@ -45,7 +45,7 @@ script:
|
||||
- travis/check-doctum-parse-errors.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
|
||||
- travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
|
||||
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION $NOTESTS ./
|
||||
- sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/phpbb_lint_test.php; fi"
|
||||
- sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/lint_test.php; fi"
|
||||
- sh -c "if [ '$NOTESTS' != '1' -a '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --verbose --stop-on-error; fi"
|
||||
- sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
|
||||
- sh -c "set -x;if [ '$NOTESTS' = '1' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git remote set-branches --add origin $TRAVIS_BRANCH && git fetch && git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..$TRAVIS_PULL_REQUEST_SHA; fi"
|
||||
|
@ -14,13 +14,13 @@
|
||||
<testsuite name="phpBB Test Suite">
|
||||
<directory suffix="_test.php">./tests</directory>
|
||||
<exclude>./tests/functional</exclude>
|
||||
<exclude>./tests/phpbb_lint_test.php</exclude>
|
||||
<exclude>./tests/lint_test.php</exclude>
|
||||
</testsuite>
|
||||
<testsuite name="phpBB Functional Tests">
|
||||
<directory suffix="_test.php">./tests/functional</directory>
|
||||
</testsuite>
|
||||
<testsuite name="phpBB Lint Test">
|
||||
<file>./tests/phpbb_lint_test.php</file>
|
||||
<file>./tests/lint_test.php</file>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
|
@ -11,7 +11,7 @@ require_once dirname(__FILE__) . '/../../phpBB/includes/functions_user.php';
|
||||
|
||||
class phpbb_functions_user_whois_test extends phpbb_test_case
|
||||
{
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
global $config, $phpbb_dispatcher, $user, $request, $symfony_request, $phpbb_root_path, $phpEx;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class phpbb_lint_test extends phpbb_test_case
|
||||
class lint_test extends phpbb_test_case
|
||||
{
|
||||
static protected $php_binary;
|
||||
static protected $exclude;
|
Loading…
x
Reference in New Issue
Block a user