Commit Graph

583 Commits

Author SHA1 Message Date
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
Markus Frosch 99a31468c9 test: Cleanup vendor symlinks 2018-12-05 14:57:38 +01:00
Markus Frosch 1a8df12de8 travis: Add php syntax checks 2018-12-05 14:57:37 +01:00
Markus Frosch 6e04f3e775 ci: Update travis and vendor test helpers
Requires:
* #3634
* https://github.com/Icinga/icingaweb2-vendor-zf1/pull/2
2018-12-05 09:16:55 +01:00
Eric Lippmann 121bd545d1
Merge pull request #3530 from Icinga/feature/enforce-a-named-identity-for-audit-logs
AuditHook: Enforce a named identity and allow to pass a explicit time
2018-07-18 15:27:45 +02:00
Johannes Meyer f28f7150fc AuditHook: Enforce a named identity and allow to pass a explicit time 2018-07-18 14:45:00 +02:00
Eric Lippmann 1ae2507f0e
Merge pull request #3495 from Icinga/bugfix/tests-don-t-respect-module-paths-3494
icingacli test php unit: include the tests of all installed modules
2018-07-18 13:45:18 +02:00
Alexander A. Klimov 0c364f7866 icingacli test php unit: include the classes of all installed modules
refs #3494
2018-07-10 15:24:19 +02:00
Eric Lippmann 8990d6f46e Drop support for PHP < 5.6 2018-07-03 13:11:36 +02:00
Eric Lippmann faaff42096 Revert "Introduce PasswordHelper for safer passwords"
This reverts commit f57277aa96.

Since we're dropping PHP support for versions lower than 5.6 this class is no longer necessary.
2018-07-03 13:08:06 +02:00
Eric Lippmann 1a841170ff
Merge pull request #3419 from Icinga/feature/audit-module-2584
Feature/audit module 2584
2018-06-19 05:13:42 -04:00
Eric Lippmann f905a978d8
Merge pull request #3309 from Icinga/bugfix/localfilestoragetest-error-handler
LocalFileStorageTest: restore error_reporting() level and error handler
2018-06-08 09:03:31 -04:00
Johannes Meyer 1f7d9def73 Introduce test AuditHookTest
refs #2584
2018-06-08 14:21:15 +02:00
Eric Lippmann 4bea67e756
Merge pull request #3315 from Icinga/bugfix/php-7-2-support-3185
Don't call session_start() after ini_set()
2018-05-07 05:44:52 -04:00
Johannes Meyer 1b15048636 Drop obsolete Icinga\Web\Menu classes
refs #2338
2018-04-27 14:28:20 +02:00
Michael Friedrich b0eb02743f Remove legacy test samples 2018-03-21 19:47:58 +01:00
Alexander A. Klimov dadd2c80f6 Don't call session_start() after ini_set()
refs #3185
2018-01-24 17:38:20 +01:00
Alexander A. Klimov a504281248 LocalFileStorageTest: restore error_reporting() level and error handler
... not to cause side effects in other tests
2018-01-24 10:54:49 +01:00
Alexander A. Klimov 1b2f3cf280 Test ASN1
refs #2816
2018-01-18 15:25:34 +01:00
Markus Frosch f57277aa96 Introduce PasswordHelper for safer passwords
refs #2954
2017-11-21 08:26:24 +01:00
Eric Lippmann f0ad3d5188 Add more test cases to the transformEmptyValuesToNull() test
refs #2751
2017-11-09 12:06:15 +01:00
Noah Hilverling bd6e65374d Add test for method transformEmptyValuesToNull
refs #2751
2017-11-09 11:57:59 +01:00
Markus Frosch cf4c83011f travis: Update phpcs to 3.0.2
And install phpcbf
2017-11-08 09:59:33 +01:00
Alexander A. Klimov 2cced5fe13 Implement local file storage 2017-11-06 10:33:54 +01:00
Markus Frosch 2e94bec22c travis: Enable ldap PHP module for PHP 5.3 2017-10-23 10:35:29 +02:00
Markus Frosch 28b1a00d4a LdapUtils: Add isDN function 2017-10-20 15:17:11 +02:00
Eric Lippmann 010db92c88 Add # to the filter test
refs #2936
2017-09-20 15:16:41 +02:00
Markus Frosch 593fd485f6 Add travis testing 2017-06-13 11:07:16 +02:00