6506eaac | 30-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
do not static cache useheading during tests
This took me way to long to figure out. The useheading setting was cached in a static variable which is fine usually as it doesn't change during a single
do not static cache useheading during tests
This took me way to long to figure out. The useheading setting was cached in a static variable which is fine usually as it doesn't change during a single request. But in testing we want to change it often.
show more ...
|
f515db7f | 28-Nov-2016 |
Andreas Gohr <andi@splitbrain.org> |
fix problems with header that look falsy. fixes #1770 |
cad89f56 | 30-Aug-2016 |
lisps <lisps@users.noreply.github.com> |
fix test test_deletedimage |
aaaabded | 30-Aug-2016 |
lisps <lisps@users.noreply.github.com> |
add deleted media test |
db5867f1 | 09-Aug-2016 |
Andreas Gohr <andi@splitbrain.org> |
fix tests for newer PHPUnit. fixes #1643
getMock is deprecated in new PHPUnit versions and createMock is the recommended replacement. However that one is not available in older PHPUnit releases. Sin
fix tests for newer PHPUnit. fixes #1643
getMock is deprecated in new PHPUnit versions and createMock is the recommended replacement. However that one is not available in older PHPUnit releases. Since we still support older PHP releases we have to support older PHPUnit releases as well.
This add some compatibility functions to our TestCase class and replaces all calls to getMock. Tested with PHPUnit 4.6.6 and 5.5.0.
show more ...
|
ef08383e | 01-Jul-2016 |
Andreas Gohr <andi@splitbrain.org> |
filesize_h might not be used in HTML content only #1622
Using an HTML entitiy might be problematic in non HTML renderers or when the output is escaped again. |
a1b0aa1e | 11-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
try to fix flaky test by clearing the statcache |
f56d5034 | 11-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
run HTTP tests against EU server
this hopefully helps with recent problems of spradically failing tests. |
2e0ebe60 | 10-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
allow passing multiple classes as array |
3b82d1ee | 02-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
fixed interwiki test |
dbd52c81 | 02-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
minor optimization how cell counts are fixed in tables
array splice operations are expensive. when many cells in a table row are missing, the operation should be executed only once instead for each
minor optimization how cell counts are fixed in tables
array splice operations are expensive. when many cells in a table row are missing, the operation should be executed only once instead for each missing cell.
show more ...
|
a566f85e | 27-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
reformatting |
f3cd98a0 | 27-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
use variable for wikiurl in tests |
774514c9 | 27-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
translate html and text string for signature
Default only text string exists, via localized translation a wiki admin can add his/her own (html) version. |
879851d3 | 23-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Add sleep(1) to remoteapicore to ensure new other timestap(=rev nr)
Could improve failing test of #1589 |
25692208 | 23-May-2016 |
Anika Henke <anika@selfthinker.org> |
always separate a number and a unit by a non-breaking space |
922cfa6a | 11-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
remote api ackcheck: if user given, but no groups, retrieve groups
with unittests |
b736dcfd | 11-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
use variable in remoteapicore_test |
bbbe85f6 | 11-May-2016 |
Michael Grosse <grosse@cosmocode.de> |
Add test for extended select-options |
0c4c0281 | 30-Apr-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
optional class for methods that open a table,row,cell,header, ul,ol
Let plugins add their own classes to builtin tables or lists.
Fixes #1188 Alternative for #1360 (and PR #1515) |
33fe8b15 | 27-Apr-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
reformatting remoteapicore unittests |
3105ba7a | 27-Apr-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
fix base of local url in remoteapi unittests |
a99e3536 | 27-Apr-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
RemoteAPICore improvements and unittests
RemoteAPICore - visibility methods - getAttachmentInfo returns modification date of deleted files - pageVersions returns only current revision (once) if $fir
RemoteAPICore improvements and unittests
RemoteAPICore - visibility methods - getAttachmentInfo returns modification date of deleted files - pageVersions returns only current revision (once) if $first=0. Adresses issue mentioned at #1550 - added unittests - updated API number
show more ...
|
30f3bd15 | 20-Apr-2016 |
Michael Grosse <grosse@cosmocode.de> |
Do not cache cleanID for $ascii == true
Caching must differentiate between a call with $ascii == true and a call without that parameter. Since calling that function with $ascii == true rare, we simp
Do not cache cleanID for $ascii == true
Caching must differentiate between a call with $ascii == true and a call without that parameter. Since calling that function with $ascii == true rare, we simply do not cache that case.
show more ...
|
b018ecbe | 18-Apr-2016 |
Michael Grosse <grosse@cosmocode.de> |
Fix caching issue in wikiFN
The function wikiFN effectively takes the $clean flag now into account when caching filepaths and when returning them from cache.
Fixes #1536 |