Yonas Habteab
|
b619dd2186
|
Add activateEntry() & getActiveEntry() interface methods
|
2023-07-14 20:05:35 +02:00 |
|
Yonas Habteab
|
ee829fd4dc
|
Unify error messages & add some class docblocks
|
2023-07-14 20:05:35 +02:00 |
|
Yonas Habteab
|
c147341648
|
Fix dashlet unit tests
|
2023-07-14 20:05:35 +02:00 |
|
Yonas Habteab
|
cc5e08da7d
|
DashletTest: Add test for creating dashlets from multiple modules
|
2023-07-14 20:05:34 +02:00 |
|
Yonas Habteab
|
89b95d74bf
|
Replace usage of LogicException with AlreadyExistsException where applicable
|
2023-07-14 20:05:34 +02:00 |
|
Yonas Habteab
|
395ae80186
|
Tests: Add remove Pane/Dashlet test cases
|
2023-07-14 20:05:34 +02:00 |
|
Yonas Habteab
|
0da632444c
|
DashletTest: Remove unnecessary Dashboard::load() call
|
2023-07-14 20:05:34 +02:00 |
|
Yonas Habteab
|
8ef46f3789
|
HomeTest: Fix logic failure when asserting removed homes
|
2023-07-14 20:05:34 +02:00 |
|
Yonas Habteab
|
05fec9de89
|
Tests: Add more Dashlets/Pane use cases
|
2023-07-14 20:05:34 +02:00 |
|
Yonas Habteab
|
a81dfe1704
|
Tests: Avoid mocking ipl\Web\Url & add some additional dashboard tests
|
2023-07-14 20:04:31 +02:00 |
|
Yonas Habteab
|
8560b2ec3f
|
Test: Introduce basic dashboard test cases
|
2023-07-14 20:04:31 +02:00 |
|
Yonas Habteab
|
c773ad3ac7
|
SearchDashboardTest: Adjust unit tests according to the new dashboards
|
2023-07-14 20:04:28 +02:00 |
|
Yonas Habteab
|
a78c221bfd
|
Tests: Remove legacy DashboardTest class
|
2023-07-14 19:51:08 +02:00 |
|
Johannes Meyer
|
597cb5c94d
|
tests: Use a real app for bootstrapping
Makes the tests less isolated, but streamlines
the autoloading and other stuff in a way that's
more maintainable than before.
|
2023-07-05 09:24:49 +02:00 |
|
Johannes Meyer
|
776e0803fa
|
tests: The app is soon not mocked anymore, so don't use it as such
|
2023-07-04 16:26:36 +02:00 |
|
Johannes Meyer
|
e572652f4c
|
ConfigTest: Always load test config from disk
|
2023-07-04 16:25:11 +02:00 |
|
Johannes Meyer
|
d0b2ed177c
|
tests: Drop DateFormatTestBroken as it is .. broken
|
2023-07-04 16:24:37 +02:00 |
|
Johannes Meyer
|
c9f3f0444d
|
tests: Require view helpers at runtime
|
2023-07-04 16:24:19 +02:00 |
|
Johannes Meyer
|
0803a1bbdc
|
test: Support multiple paths in ICINGAWEB_MODULES_DIR
|
2023-01-18 12:07:11 +01:00 |
|
Johannes Meyer
|
93bac9443d
|
test: Expect internal test dependencys in php/Lib
Loading internal test dependencies did previously only work
if placed directly inside `php`. No module does this at this
time.
|
2023-01-18 12:03:54 +01:00 |
|
Johannes Meyer
|
23c4ae2469
|
test: Don't require Mockery the legacy way
Installing locally as composer library is now the only way.
|
2023-01-18 12:02:38 +01:00 |
|
Johannes Meyer
|
b89da2f865
|
Visitor: Force light mode when printing pages
|
2022-12-07 11:57:48 +01:00 |
|
Eric Lippmann
|
e45c53ac3c
|
Test nested LESS variables in minin calls
|
2022-06-30 12:15:01 +02:00 |
|
Yonas Habteab
|
1ec6913a04
|
Tests: Add less parser nested variables test cases
|
2022-06-30 12:15:01 +02:00 |
|
Sukhwinder Dhillon
|
8f0ac0492d
|
Replace deprecated method DbConnection::getConnection() with DbConnection::getDbAdapter()
|
2022-06-14 14:24:30 +02:00 |
|
Sukhwinder Dhillon
|
d8895669b3
|
Remove class IniStoreTest
|
2022-05-27 13:55:48 +02:00 |
|
Sukhwinder Dhillon
|
213c60334a
|
Rename class DbStoreTest to PreferencesStoreTest
|
2022-05-27 13:55:48 +02:00 |
|
Johannes Meyer
|
42815f02e6
|
Drop class Icinga\File\Storage\LocalFileStorageIterator
|
2022-03-24 12:27:20 +01:00 |
|
Eric Lippmann
|
0ce968bfda
|
Deny light-mode definitions in selectors
|
2022-02-09 21:35:12 +01:00 |
|
Johannes Meyer
|
91c0ff9d05
|
LessParserTest: Test light mode collection
|
2022-02-09 21:35:12 +01:00 |
|
Johannes Meyer
|
38cc26eca5
|
tests: Introduce LessParserTest
|
2022-02-09 21:20:33 +01:00 |
|
Johannes Meyer
|
509d642982
|
tests: Introduce TemporaryLocalFileStorageTest
refs #4630
|
2022-01-11 12:48:34 +01:00 |
|
Johannes Meyer
|
6633bde9e9
|
tests: Load Mockery as late as possible
|
2021-11-02 09:26:00 +01:00 |
|
Johannes Meyer
|
06d03dc21f
|
tests: Load external libraries
|
2021-11-02 09:26:00 +01:00 |
|
Gianluca Piccolo
|
1e7f700102
|
Make configuration of custom user backends possible
refs Icinga/icingaweb2#2840
|
2021-06-18 10:28:35 +02:00 |
|
Johannes Meyer
|
84c459c519
|
test: Remove testcase Bug6432Test
|
2021-05-28 14:03:36 +02:00 |
|
Johannes Meyer
|
0cbae3195e
|
test: Remove testcase TranslatorTest
|
2021-05-28 14:03:36 +02:00 |
|
Johannes Meyer
|
384d9535a9
|
ArrayDatasource: Sort result first and then apply limit+offset
|
2021-04-12 15:42:20 +02:00 |
|
Johannes Meyer
|
e671324ddb
|
tests: Don't use deprecated assertion assertRegExp()
|
2021-04-09 12:38:43 +02:00 |
|
Johannes Meyer
|
f27e872d90
|
tests: Don't make use of deprecated phpunit features
|
2021-04-09 12:38:43 +02:00 |
|
Johannes Meyer
|
bc1c967dec
|
BaseTestCase: Inherit from Mockery\Adapter\Phpunit\MockeryTestCase
|
2021-04-09 12:38:43 +02:00 |
|
Johannes Meyer
|
cb87190138
|
tests: Add :void return type declarations
|
2021-04-09 12:38:43 +02:00 |
|
Johannes Meyer
|
87d741265e
|
Auth: Add support for denied permissions
|
2021-02-18 11:11:39 +01:00 |
|
Johannes Meyer
|
b2f7c3788d
|
test: Roles have permissions, not users
|
2021-02-18 11:11:39 +01:00 |
|
Johannes Meyer
|
9e1d14666c
|
test: Load composer autoloader if available
|
2020-01-22 13:09:01 +01:00 |
|
Johannes Meyer
|
8b4d5f37c5
|
travis: Raise phpcs version to 3.5.3 to support PHP 7.4
|
2019-12-04 11:28:08 +01:00 |
|
Johannes Meyer
|
766d73cb3f
|
IniParserTest: Add case for php bug 76965
refs #3733
|
2019-04-17 09:59:54 +02:00 |
|
Johannes Meyer
|
f6f106faf2
|
tests: Update ini tests
|
2019-03-04 12:16:55 +01:00 |
|
Johannes Meyer
|
ed7ecb32a5
|
IniParser: Properly unescape special characters in section names and option values
refs #3648
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
|
2019-02-05 11:30:55 +01:00 |
|
Markus Frosch
|
4081a85d90
|
Introduce Icinga\Util\Environment to manage limits
And replace the code in Icinga\File\Pdf with the new helper.
|
2018-12-05 15:42:48 +01:00 |
|