History log of /dokuwiki/_test/ (Results 251 – 275 of 950)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e0ab73f106-Apr-2020 Sam <1631095+takuy@users.noreply.github.com>

accidentally removed this on an earlier commit

more test fixes

256ac28f05-Apr-2020 Sam <1631095+takuy@users.noreply.github.com>

typo fix

bug fixes & added fixes for existing tests

b65274ec05-Apr-2020 Phy <git@phy25.com>

Fix noNSorNS zero ID issue with unit tests, fixes #3037

36c8a75c10-Mar-2020 Phy <git@phy25.com>

Fix ExternalLink tests

f216edae21-Jun-2018 Lars Paulsen <lars_paulsen@web.de>

Fixed broken link rendering for external links at start of line

External links at the start of line like 'www.example.com' were
not rendered as links any more. The issue was introduced with PR #1988

Fixed broken link rendering for external links at start of line

External links at the start of line like 'www.example.com' were
not rendered as links any more. The issue was introduced with PR #1988.
Fixes #2399.

show more ...

90d36bec09-Mar-2020 Phy <git@phy25.com>

fix data-wiki-id test failure

4986a58409-Mar-2020 Phy <git@phy25.com>

shortcut relative link: fix 3 levels up situation

26a03f0809-Mar-2020 Phy <git@phy25.com>

Match multiple levels shortcut relative link, fixes #1076

Previously the regex only matches one level. Test added as well.

4bdfdb3208-Mar-2020 Phy <git@phy25.com>

separate some test AuthPlugins to single files

created AuthDeletePlugin and AuthCaseInsensitivePlugin under dokuwiki\test\mock

7a0654be08-Mar-2020 Phy <git@phy25.com>

check RemoteException code in unit tests

b53267d317-Jun-2019 Phy <git@phy25.com>

Change cases of assertTrue in tests

0f43ea4410-Jun-2019 Schplurtz le Déboulonné <Schplurtz@laposte.net>

add drupal and seafile hash methods

7d3a1fc906-Mar-2020 bleistivt <me@bleistivt.net>

Add test for video titles

6d7829a703-Mar-2020 Phy <git@phy25.com>

add alternative support for PHP not throwing ArgumentCountError in remote/APi

PHP 5.6 and 7.0 won't throw ArgumentCountError. In this case, we use
set_error_handler on E_WARNING and throw exceptions

add alternative support for PHP not throwing ArgumentCountError in remote/APi

PHP 5.6 and 7.0 won't throw ArgumentCountError. In this case, we use
set_error_handler on E_WARNING and throw exceptions if it's about argument
missing.

show more ...

2fc0891103-Mar-2020 Phy <git@phy25.com>

suppress argument missing warnings on remote API test

This makes sure PHPUnit won't convert warnings into exceptions, and thus behaves
as the same as regular DokuWiki where E_NOTICE is suppressed.

5c6412cc03-Mar-2020 Phy <git@phy25.com>

rename vague AuthPlugin used by remote and authdelete tests

81f50a5003-Mar-2020 Phy <git@phy25.com>

add unit tests that check exception type on remote args missing for #2545

2ae2e00102-Mar-2020 Phy <git@phy25.com>

relax Revert permission to EDIT from manager

Revert is another type of edit, which may be simulated by manual editing without using this shortcut. This patch thus relaxes the permission check.

Than

relax Revert permission to EDIT from manager

Revert is another type of edit, which may be simulated by manual editing without using this shortcut. This patch thus relaxes the permission check.

Thank you @Klap-in for pointing this out.

show more ...

36faf69621-Jan-2020 Michael Große <mic.grosse@googlemail.com>

Split out temporary code style excludes

Splitting them out allows for plugins to use _test/phpcs.xml as the
basis for their own linting without having an overly permissive coding
standard.
Also, thi

Split out temporary code style excludes

Splitting them out allows for plugins to use _test/phpcs.xml as the
basis for their own linting without having an overly permissive coding
standard.
Also, this makes it more obvious and painful that these are just
intended as temporary exceptions and should be actually fixed.

The rule `Generic.ControlStructures.InlineControlStructure.NotAllowed`
has its comment adjust to make it clear that this is an intended
deviation from the PSR-2/PSR-12 coding standard.

The rule `PSR1.Classes.ClassDeclaration.MissingNamespace` has to remain
in the DokuWiki coding standard as the plugin base classes can currently
not reasonably be in namespaces.

show more ...

4352f97422-Jan-2020 Andreas Gohr <gohr@cosmocode.de>

Better callable support in Event default actions

Instead of parsing the passed callback ourselves, this patch relies on
call_user_func_array() instead to call an Event's default action. This
ensures

Better callable support in Event default actions

Instead of parsing the passed callback ourselves, this patch relies on
call_user_func_array() instead to call an Event's default action. This
ensures all possible ways to define a callback (including static
methods) can be used.

This should fix a problem mentioned in #2943

show more ...

c083b3ca20-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

create PluginUtils.test.php

2f5645ef19-Jan-2020 Phy <git@phy25.com>

add trim, and polish test_quotes of css_compress, again

An edge case that space at the beginning won't get removed.

74be129019-Jan-2020 Phy <git@phy25.com>

polish test_quotes of css_compress

Now the testcase string should be clearer to read

c52c9e2b19-Jan-2020 Henry Pan <git@phy25.com>

Add test_escapedQuotes to css_compress

Thank you @micgro42!

Co-Authored-By: Michael Große <mic.grosse@googlemail.com>

903d43fe31-Dec-2019 Michael Große <mic.grosse@googlemail.com>

Check code style against PSR12

In 2019 PSR-12 was officially released and PSR-2 deprecated. We should
adapt to that and check our files against that new coding standard.

1...<<11121314151617181920>>...38