Commit graph

90 commits

Author SHA1 Message Date
Philipp Holzer
ef16e1a037
Adding unittest for empty setApp() 2019-02-05 22:56:57 +01:00
Philipp Holzer
104086215c
Fixing tests 2019-02-05 22:03:07 +01:00
Philipp Holzer
90e88d6c35
Bugfixing AutomaticInstallation test 2019-02-04 00:04:16 +01:00
Philipp Holzer
835b5c00ee
ConsoleTest is now a MockedTest 2019-02-02 19:21:48 +01:00
Philipp Holzer
433d6abe8c
Refactoring DBA-mocking tests
- Reducing DB-dependencies
- Creating DB-cache mocks
- Creating DB-lock mocks
- Switching to mocked dependencies for Cache/Lock/App
2019-02-02 19:03:15 +01:00
Hypolite Petovan
cef6757c92 Replace REGISTER_* constants by Module\Register::* ones 2019-01-22 22:24:15 -05:00
Philipp Holzer
2e602afd3e Add Monolog 2019-01-21 10:10:40 -05:00
Hypolite Petovan
2f49c4a058 Revert "Add monolog" 2019-01-21 10:08:09 -05:00
Philipp Holzer
6150c2fa9c Bugfixing 2019-01-21 09:59:11 -05:00
Philipp Holzer
83f187a047 bugfix test 2019-01-21 09:59:10 -05:00
Philipp Holzer
8f9c0fe149 Adding Develop and normal Logging instances 2019-01-21 09:59:08 -05:00
Philipp Holzer
438f31ff05 Fixed BaseObjectTest 2019-01-21 09:58:05 -05:00
Philipp Holzer
fe8f0e0045 Add Monolog 2019-01-21 09:58:05 -05:00
Michael Vogel
94eca77041
Merge pull request #6315 from MrPetovan/bug/6309-add-fulltext-index-profile
Rework mod/match and mod/msearch
2018-12-27 18:04:06 +01:00
Hypolite Petovan
acaee626f5 Remove include/ requires that are now done directly from Composer 2018-12-24 09:56:25 -05:00
Michael
75e63212d1 Bite by bite ... 2018-12-22 22:56:57 +00:00
Michael
6a501d99af And again tests ... 2018-12-22 22:36:53 +00:00
Michael
732308ce6d Hopefully this fixes the tests again 2018-12-22 22:04:47 +00:00
Hypolite Petovan
458981f75c Replace x() by isset(), !empty() or defaults()
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Hypolite Petovan
0c21bd488f Use constants instead of strings for register_policy 2018-11-26 07:40:44 -05:00
Hypolite Petovan
c964e193b9 Replace *.ini.php by *.config.php in comments 2018-11-25 01:44:51 -05:00
Hypolite Petovan
98d90e131d Update install to generate config/local.config.php 2018-11-25 01:44:09 -05:00
Michael Vogel
d577ab98eb
Merge pull request #6104 from nupplaphil/friendica-6101
Finding slow tests
2018-11-10 17:39:42 +01:00
Philipp Holzer
7aae40ae6a
skipping TTL tests 2018-11-09 20:39:47 +01:00
Adam Magness
218f0734be Rename removeTags to escapeTags
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
063f0e9cb0 Rename escapeTags to escapeHtml
rename function and update calls.
2018-11-09 13:27:58 -05:00
Adam Magness
11cec3229c Create/Update tests
create test for new class, move tests from previous
2018-11-09 08:36:28 -05:00
Philipp Holzer
61971287c4
Fixing tests 2018-11-08 08:11:27 +01:00
Philipp Holzer
8ad721988b
Refactoring identities to Model\User::identities 2018-11-08 00:38:55 +01:00
Philipp Holzer
6949841947
Removed unnecessary function 2018-11-05 21:17:46 +01:00
Philipp Holzer
47095d70a9
Using random_int directly 2018-11-05 21:16:18 +01:00
Philipp Holzer
049cd963f3
Using random_int directly 2018-11-05 21:15:30 +01:00
Philipp Holzer
c94936a149
copy/paste error 2018-11-05 21:03:55 +01:00
Philipp Holzer
6e10bdf361
Move random Digits to Crypto class 2018-11-05 21:02:54 +01:00
Hypolite Petovan
0472c7b57d
Merge pull request #6070 from zeroadam/TextToXML
split xml functions out of text.php
2018-11-05 13:50:09 -05:00
Adam Magness
cace4a8991 Update and rename test class
update and rename test class.
2018-11-05 13:08:33 -05:00
Adam Magness
119b4afddf Create/Update tests
create new test class and update old one.
2018-11-05 07:53:12 -05:00
Philipp Holzer
c2bd69e351
Lock TTL fix 2018-11-05 08:51:35 +01:00
Philipp Holzer
83ead5ec48
Test enhancements 2018-11-01 13:44:47 +01:00
Philipp Holzer
70f9d3c596
documentation 2018-11-01 12:48:43 +01:00
Philipp Holzer
4f01a198e1
AutoInstall Test fix
- New Mock for Renderer
- No need of prepared assert.ini.php anymore
- Mocking Renderer during Autoinstall
2018-11-01 10:30:44 +01:00
Philipp Holzer
764e1a3cb6
Fixing issue L10n::t() 2018-10-31 12:37:52 +01:00
Philipp Holzer
d75cc0cb34
Bugfixing executable (Mocking the executable) 2018-10-31 12:37:47 +01:00
Philipp Holzer
92d3d77e76
Bufixing environment specific assertion problem 2018-10-31 11:03:15 +01:00
Philipp Holzer
70e240691e
Moved Mocking usage
Adding more documentation
2018-10-31 10:39:50 +01:00
Philipp Holzer
551efde226
removed unnecessary use 2018-10-31 10:19:33 +01:00
Philipp Holzer
0e22c18a9d
Bugfixing & Enhancement
- Added Mocking Engine for App, DBA, Config
- Using Mocking Engine for AutomaticInstallationConsoleTest
- Using Mocking Engine for ConfigConsoleTest

- Removing MultiUserConsole - Workaround
2018-10-31 10:16:15 +01:00
Philipp Holzer
91f595000c
Mocking DBStructure::existsTable() 2018-10-30 12:47:44 +01:00
Philipp Holzer
cf39c9df81
Bugfixings
- moved testargs.php to util directory
- Switch Environment check before config at automatic install
- checkPHP() is now finding the PHP binary too
- Bugfixing checkPHP() & required returned wrong status
- removing not used $_POST['phpath'] in web installer
2018-10-30 11:30:19 +01:00
Philipp Holzer
f0382ab919
Refactoring Installation
- centralized installation
- renamed Core\Install to Core\Installer
- avoid using $a->data[] for states
- removed unnecessary code
2018-10-29 18:44:39 +01:00