850c9362 | 13-Sep-2022 |
Philipp Cochems <philipp.cochems@gmail.com> |
add eng not test |
22f5accc | 23-Aug-2022 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Update tests for "noedit" option in schema config |
bb8d98c4 | 08-Aug-2022 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Dummy IS_PUBLISHER check with test |
4c1bcea7 | 23-Aug-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Update test |
25708572 | 04-Apr-2022 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix bureaucracy test (#601)
- Fix bureaucracy tests
- Bureaucracy: Don't attempt to double decode lookup field |
1ca21e17 | 31-Mar-2022 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Multiple fixes for PHP 8 (#600) |
8267c301 | 27-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
replaced more deprecated assertions |
5cc23c44 | 27-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Return proper type when creating a Schema |
138025f8 | 27-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
make bureaucracy optional when testing |
d7298ee4 | 27-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Refactor deprecated assertion |
2af9c5bb | 27-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Replaces deprecated expectException annotation |
0549dcc5 | 13-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
PHP code sniffer autofixes |
95507c08 | 05-Jul-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Cleanup to make checks and tests pass |
c7273e8e | 28-Jun-2021 |
Andreas Gohr <andi@splitbrain.org> |
Better output mechanisms for URL Type |
812a20f7 | 17-Jun-2021 |
Iain Hallam <iainhallam@users.noreply.github.com> |
Value aggregation type (#386)
* Allow a single value to be used inline in the page
* Removed debug line
* Added short form of value syntax - {{$s.f}}
* Refactor inline parsing into a new cl
Value aggregation type (#386)
* Allow a single value to be used inline in the page
* Removed debug line
* Added short form of value syntax - {{$s.f}}
* Refactor inline parsing into a new class and add filtering for page ID
* Allow recovery if the user has used single quotes
* Fixed metadata rendering when using $INFO['id']
* Handle no result better
* Add configuration for whether to show a no records text
* Linter fixes
* Match array style with other entries
* Simplify tokenising with -> separator
* Replace use of GLOBALS array
* Revert to dots, remove block syntax
* Suggestion of future syntax
* Use space-separated parameters
* Explanatory comments
* Increase sort order
* Don't lint for errors required by DokuWiki
* Move syntax description to class documentation
* Draft InlineConfigParser test
* Docstring alignment
show more ...
|
a17e8e15 | 11-Apr-2021 |
Frieder Schrempf <dev@fris.de> |
Add more tests for struct filter variables
This adds some more tests for struct filter variables and the case where the schema referenced by the variable is not the same as the one assigned to the s
Add more tests for struct filter variables
This adds some more tests for struct filter variables and the case where the schema referenced by the variable is not the same as the one assigned to the search.
This also uncovers a bug which is triggered by both schemas, the one assigned to the search and the one referenced by the variable, having a column with the same name.
Signed-off-by: Frieder Schrempf <dev@fris.de>
show more ...
|
7784f3c1 | 11-Apr-2021 |
Frieder Schrempf <dev@fris.de> |
Add type hints for setUp() and tearDown() in unit tests
This fixes the compatibility with the implementation in the DokuWikiTest class, that was changed in splitbrain/dokuwiki@1c33cec37215d0c964cf96
Add type hints for setUp() and tearDown() in unit tests
This fixes the compatibility with the implementation in the DokuWikiTest class, that was changed in splitbrain/dokuwiki@1c33cec37215d0c964cf961bdbc49ae7db3657e6
Signed-off-by: Frieder Schrempf <dev@fris.de>
show more ...
|
96b31936 | 31-Jan-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Tests update: always save a revision timestamp in page data
This makes tests more sensitive when we need to distinguish between page and serial data. |
fc9d616f | 20-Jul-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Add test for validating an empty multivalue field
The validator mutates the data, this tests the result. |
7b5b21b7 | 20-Jul-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Test deleting all values when a multi field is updated inline
This test has a very limited scope: only the save method, and it will catch very few errors in the inline editor. For that, \action_plug
Test deleting all values when a multi field is updated inline
This test has a very limited scope: only the save method, and it will catch very few errors in the inline editor. For that, \action_plugin_struct_inline must be refactored into more manageable public methods.
show more ...
|
777be84f | 20-Jul-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix tests: updating global data |
d3cc7cb3 | 30-Jun-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Adjust bureaucracy tests to properly handle lookup replacements |
308cc83f | 14-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
refactoring names
To avoid confusion with the Lookup type, the three different ways of accessing a schema have now the following names:
* page data - for revisioned struct data attached to a page *
refactoring names
To avoid confusion with the Lookup type, the three different ways of accessing a schema have now the following names:
* page data - for revisioned struct data attached to a page * serial data - for an unrevisioned list of struct data attached to a page * global data - for an unrevisioned list of struct data not attached to any page (formaly known as lookup schema)
The editor mechanism used for serial and global data is now called AggregationEditor
Some reference to lookup schemas is still in the bureaucracy support part.
show more ...
|
7ab0915e | 12-May-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Test pagination HTML with phpQuery elements instead of string comparison |
4cd5cc28 | 07-May-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Introduce new factory methods for data access and deprecate old ones |