b88869ecaa
!!!|Fix unit tests for CMS 9 + PHP 7.3
...
* Add some more checks to remove PHP warnings / notices.
* Adjust code to match CMS 9 API / interfaces.
* Do no longer use "query" but only searchTerm, as query is internal
API.
2019-05-17 16:22:06 +02:00
c8dc95c4d3
FEATURE: Provide type of result item
...
In order to make further usage easier, we provide the type for each
result item.
This makes it possible to call {f:render(section: resultItem.type)}.
2018-03-20 16:07:28 +01:00
6456f31503
TASK: Make test more readable
...
Make sure everyone knows what we compare, do not add hardcoded
information.
2018-03-06 13:23:08 +01:00
a893303939
TASK: Improve ResultItemTest
...
Do not repeat content, use variable which is also better to read.
And do not add unnecessary, unused, variables.
2018-03-06 13:04:42 +01:00
45bb12cf51
TASK: Add tests for search result model
2018-03-06 09:44:26 +01:00
cf91251be3
TASK :Add tests for SearchRequest
...
Make sure exceptions with helpful messages are thrown if one object is
missing when execute is called.
Also make sure the expected methods are called.
2018-03-06 09:36:39 +01:00
79aba3c544
TASK: Add test cases for ResultItem Model
...
Check whether all methods work as expected.
E.g. we can retrieve data in all ways, but not change anything.
2018-03-06 09:19:09 +01:00
7a5bea687e
TASK: Add new tests for filter setting on model
2017-10-29 13:03:42 +01:00