fix XMLRPC server testsWe test against the MockAPICore now since the tests are meant to ensurethe general functionality of accepting XML and correctly callingAPICalls works, not that the API retu
fix XMLRPC server testsWe test against the MockAPICore now since the tests are meant to ensurethe general functionality of accepting XML and correctly callingAPICalls works, not that the API returns the right things (this istested in the ApiCore tests).Since we no longer use dates but always integers, we no longer need tohandle that.
show more ...
final set of API tests refactored
More adjusted API tests
another set of api tests
Fix first set of API tests
Update init_checkssl.test.php
update tests to match new is_ssl behaviour
added tests for auth token handling
removed obsolete testsThese tests have been moved to the File namespace.
Fix unit test, little refactor
deprecate parseChangelogLine()It was already replace in code, replaced in unit test as well.
enforce content type on XML-RPC. addresses #3991This ensures only text/xml or application/xml content types are acceptedwhen communicating with the XML-RPC API
use local squid docker instance for proxy testing
updated repo links
added test for #3924Bug report says polish letters aren't deaccented correctly, but it seemsto work?
fix trim call in Mailer's name cleaningThe wrong quotes were used, turning what was meant to be a tab char intoa literal t.fixes #3923
output full path when initializing savedir path failsThis will not only clean up double slashes etc. as mentioned in #3903but will also output the full canonical path (starting at the filesystemr
output full path when initializing savedir path failsThis will not only clean up double slashes etc. as mentioned in #3903but will also output the full canonical path (starting at the filesystemroot) when showing an error on initializing the savedir paths. Thisshould make it easier to understand which path DokuWiki is trying toaccess exactly.
Fix unititialized string offset access in query parserThe code always tried to access positon 2 of the parsed token, even fortokens shorter than that (like OR)fixes #3896
Properly quick search in titles with UTF-8 chars.Fixes #3808
use httpbingo for HTPP testsThis service is based on httpbin-go which seems to be better maintainedand should be easy to set up for ourselves if needed.This also fixes a warning when the client
use httpbingo for HTPP testsThis service is based on httpbin-go which seems to be better maintainedand should be easy to set up for ourselves if needed.This also fixes a warning when the client is reused with themax_bodysize mechanism
Move PSR compliant tests to the apropriate namespacesHaving "inc" in the namespace is awkward. Instead the test classnamespaces now correspond to their real class namespaces.With further refacto
Move PSR compliant tests to the apropriate namespacesHaving "inc" in the namespace is awkward. Instead the test classnamespaces now correspond to their real class namespaces.With further refactorings we should get rid of most of the stuff intests/incthis is a continuation of #3812
Move IP functions into a class
Factor out IP address functions; all proxies must be trusted
replace phpquery by php-dom-wrapper #3308This replaces the outdated phpquery library by the newer and maintainedphp-dom-wrapper. Usage is similar but not a 1:1 replacement. phpQuery isleft in but
replace phpquery by php-dom-wrapper #3308This replaces the outdated phpquery library by the newer and maintainedphp-dom-wrapper. Usage is similar but not a 1:1 replacement. phpQuery isleft in but marked as deprecated.
fix autoloading for testsThis replaces my attempt in 12ebce974be688ac34bf4389645d5fc7baa29cc7The canonical namespace for DokuWiki core tests is dokuwiki/test/ andthis is mapped to _test/tests no
fix autoloading for testsThis replaces my attempt in 12ebce974be688ac34bf4389645d5fc7baa29cc7The canonical namespace for DokuWiki core tests is dokuwiki/test/ andthis is mapped to _test/tests now in the autoloader.This means the majority of tests is in the dokuwiki/test/inc namespace.Mockfiles are located at _test/mock and have the namespacedokuwiki/test/mock - if that's good or bad is debatable. I simply keptit as it always has been. But there might be an argument for having mockobjects closer to the tests that use them (eg. right next to the testfiles).
12345678910>>...22