Philipp Holzer
c1c4640c1b
remove unneeded todo
2019-11-01 15:49:18 +01:00
Philipp Holzer
f4ad82bcfb
make ACLFormatter::expand() nullable and return an empty array
...
- optimize tests
2019-11-01 15:43:16 +01:00
Philipp Holzer
aa7be41728
Fix ACLFormatterTest
...
- Add nullable to expand() function again
- Add angle bracket support to toString()
2019-11-01 14:13:29 +01:00
Philipp Holzer
3eda62bfa6
Check null for acl-fields
2019-10-28 18:16:10 +01:00
Philipp Holzer
7343ee5108
Move Namespace of ActivityNamespace
2019-10-25 00:41:48 +02:00
Philipp Holzer
dc2858938d
Renamed to ActivityNamespace
2019-10-25 00:32:35 +02:00
Philipp Holzer
3897c74deb
Add docs
2019-10-25 00:10:20 +02:00
Philipp Holzer
2fba7ed477
Rename namespace
2019-10-24 21:40:13 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
9f460c6797
Merge pull request #7765 from nupplaphil/task/move_text
...
Move include/text.php to class structure
2019-10-23 15:57:01 -04:00
Philipp Holzer
c9e1098dd2
Adapt naming convention
2019-10-23 21:39:00 +02:00
Philipp
3eb3e0b5ce
Update InstallerTest.php
...
Remove `text.php` usage
2019-10-23 03:22:03 +02:00
Philipp Holzer
f9f2c9e4b2
Remove unneeded TextTest class
2019-10-23 02:50:09 +02:00
Philipp Holzer
edf006905b
Move (last) get_cats_and_terms to Content\Item::determineCategoriesTerms()
...
- Added incomplete test
2019-10-23 02:48:46 +02:00
Philipp Holzer
ad67fd3aa8
Move is_a_date_arg to DateTimeFormat::isYearMonth
...
- Improved functionality
- Added tests
2019-10-23 02:39:28 +02:00
Philipp Holzer
52c42491c4
Move activity_match() to Protocol\Activity::match()
...
- With tests
2019-10-23 02:05:11 +02:00
Philipp Holzer
5843a80b6c
Move perms2str to ACLFormatter::aclToString()
...
- including new tests
2019-10-23 00:54:34 +02:00
Philipp Holzer
f65f7f11c3
Move expand_acl to ACLFormatter::expand()
...
- including tests
2019-10-23 00:40:14 +02:00
Philipp Holzer
7a9c5d10ee
Remove unused function attribute_contains
2019-10-23 00:22:39 +02:00
Philipp Holzer
2870f42ca2
Move bb_translate_video
...
- To new Class BBCode\Video
- Adding tests
- Make BaseObject::getClass() public
2019-10-23 00:14:47 +02:00
Philipp Holzer
6b2c28e2d7
Add checks & realpath() usage
...
- New util class "FileSystem"
- Add check in admin summary too
2019-10-22 22:47:37 +02:00
Philipp
fed486bfc5
Merge pull request #7727 from MrPetovan/task/4090-move-manage-to-src
...
Move mod/manage to src/Module/Delegation
2019-10-13 18:20:47 +02:00
6fd301a891
Remove irrelevant test in App\RouterTest
...
- HTTP Methods other than POST are coerced into GET in App\Router constructor
2019-10-13 10:16:38 -04:00
8748bfd8ad
Fix Router tests related to unallowed methods
2019-10-13 07:54:50 -04:00
9c933aacd2
Making test working again (reverting the last change)
2019-10-12 10:56:16 +00:00
4ee9e21a4f
Make Router::getModuleClass throw exceptions
...
- Add new MethodNotAllowedModule
- Add new Module->determineClass catch blocks
- Update Module and Router tests
2019-10-11 19:59:05 -04:00
dew-git
1d1c089f84
Make test comply.
2019-10-10 21:21:22 -08:00
Philipp Holzer
a522cf609b
Fix browser language detection (& tests)
2019-10-10 16:39:04 +02:00
fbe7a78dfb
Correcting tests
2019-10-02 10:46:07 +00:00
52c3f64cee
Tests added
2019-10-02 09:26:52 +00:00
c0cb1a194e
Merge pull request #7670 from nupplaphil/task/add_router_config
...
Add router config
2019-09-30 11:13:36 -04:00
Philipp Holzer
49e812f3d3
Bugfix GetAllKeys() of Memcache
...
- Abstract Memcache and Memcached implementation
2019-09-30 14:03:15 +02:00
Philipp Holzer
c65d574ac3
enable codecov
2019-09-30 14:03:14 +02:00
Philipp Holzer
e3e3c1ef28
Some new tests and fixings
2019-09-30 14:03:13 +02:00
Philipp Holzer
0823f4d72d
Add group for cache tests
2019-09-30 14:03:13 +02:00
Philipp Holzer
d5dd12b8f8
Add Drone CI
...
- Add drone test environment
- Add drone config
- apt phpunit
- Fix api.php
- Fix item.php
- Fix DBStructure
- Check if caching is possible during tests
2019-09-30 14:03:12 +02:00
Philipp Holzer
0e5cb88888
Add router config
...
- Introduce route.config.php structure
- Adding config loader for routes
- Adapt Module class (separation of duties)
- Add tests
2019-09-29 11:57:27 +02:00
Philipp Holzer
04cf13e022
Remove DBUnit dependencies
2019-09-29 01:57:45 +02:00
1f20a9330c
Add new ignoreChildren behavior to HTML::tagToBBCode
...
- Allow discarding HTML tag children for single-value BBCode
- Add test for it
2019-09-25 20:44:09 -04:00
d8484e65bd
Move autolinker execution earlier in BBCode::convert
...
- Prevents already replaced HTML links (like in [audio] tag) to be doubled
- Add test for it
2019-09-25 20:39:04 -04:00
Philipp Holzer
b13dbb3dcb
Remove $_SERVER['PHP_SELF'] usage
2019-09-17 16:47:00 +02:00
ba2e57e84a
Added tests
2019-09-05 20:37:16 +00:00
Philipp Holzer
1237ac1062
enhance semaphore lock testing
2019-08-17 19:38:51 +02:00
Philipp Holzer
c803dcb6c5
Fix Locks
...
- Wrong return of lock releasing with DBA provider
- It's not possible to maintain Semaphore locks, since they aren't accessible by other processes
Should solve https://github.com/friendica/friendica/issues/7298#issuecomment-521996540
2019-08-17 19:33:36 +02:00
Philipp Holzer
90b438e082
Move mode settings to App\Mode
...
- Move isAjax() to App\Mode
- Move isTablet() to App\Mode
- Move isMobile() to App\Mode
- Refactor last usage of App->isBackend()
2019-08-17 09:09:13 +02:00
Philipp Holzer
08be92a862
Moved BaseURL to App namespace (because similar type as Arguments/Modules/Modes)
2019-08-15 17:23:00 +02:00
48caf55cff
Merge pull request #7515 from nupplaphil/task/console_lock
...
New Console Command: Lock
2019-08-15 10:31:34 -04:00
Philipp Holzer
cba9fa2467
Move isBackend logic to App\Mode
2019-08-15 15:51:15 +02:00
Philipp Holzer
d95457cf61
Add Lock test
2019-08-15 14:26:05 +02:00
Philipp Holzer
e2e109b8c1
Fix getAllKeys() method for memcache instances
2019-08-15 14:26:05 +02:00
Philipp Holzer
41e2031e6b
Console Lock
...
WIP
2019-08-15 14:26:04 +02:00
Philipp Holzer
b1ae58cdc5
fix tests & remove superfluous parameter
2019-08-13 16:29:16 +02:00
Philipp Holzer
0af9747c6c
Add Arguments & Modules class
2019-08-13 16:29:11 +02:00
fcb1a78352
Revert "Introduce Arguments / Module class"
2019-08-11 18:01:11 -04:00
Philipp Holzer
2c5ba7fc15
Introduce Arguments / Module class
...
- move from App
- add tests for Arguments/Module class
2019-08-11 14:24:05 +02:00
d32de58e34
Add test case to avoid trimming empty image tags
2019-08-06 21:22:46 -04:00
d1db9bc8e6
Add test case for hashtag link list space removal
2019-08-06 08:21:26 -04:00
6b7dfd0c71
Merge pull request #7465 from nupplaphil/task/dice_cache_lock
...
Refactor Cache/Lock to DICE
2019-08-06 07:05:07 -04:00
Philipp Holzer
5442dfa21e
remove constructor parameter
2019-08-06 07:43:13 +02:00
Philipp Holzer
2e65b96cb4
Revert ProfilerTest
2019-08-05 09:22:06 +02:00
Philipp Holzer
9682cc440c
Using method-chaining for DICE
2019-08-05 09:03:12 +02:00
Philipp Holzer
a66580444f
Fixing sort of BaseURL usage for App & Cache usage
2019-08-04 20:01:15 +02:00
Philipp Holzer
fba0574ec0
Switched to Classes for ApiTest
2019-08-04 18:50:24 +02:00
515935b241
Add test case for this bug
...
- Fix whitespaces in MarkdownTest
2019-08-04 10:24:25 -04:00
Philipp Holzer
34e4968c06
Adding possibility to use a different cache-backend for locking and caching
...
- Renaming *LockDriver to *Lock since it isn't a "driver" anymore
2019-08-04 15:42:39 +02:00
Philipp Holzer
86bf2ee45a
Rename *CacheDriver to *Cache because they don't act as driver anymore
2019-08-04 10:26:53 +02:00
Philipp Holzer
d56bd28a07
Refactor Cache/Lock to DICE
...
- Refactor Cache classes
- Refactor Lock classes
- Improved test speed (removed some seperate class annotations)
2019-08-03 20:51:58 +02:00
Michael Vogel
e8459cce34
Merge pull request #7381 from MrPetovan/task/7309-frio-compose
...
[frio] New Compose page
2019-08-01 08:15:02 +02:00
Philipp Holzer
a60eb9e33d
Use DICE for Console
...
- Use Friendica\Core\Console as Controller for DI-library
- Refactor every console command to use DICE (when possible)
- Adjusting tests
2019-07-31 19:37:42 +02:00
8485874a87
Fix expand_acl tests
...
- Space containing values aren't valid anymore
- Return values are strings
2019-07-29 20:31:48 -04:00
Philipp Holzer
df9ebf5e8e
Replace api.yml to api.fixture.php
...
- Remove yaml dependency
- Add PHP array based fixture possibility
2019-07-28 20:46:29 +02:00
Philipp Holzer
b08ac3c0a7
Remove Phpunit/Dbunit
...
- Introduce own Yaml-to-SQL class
- Introduce new way of MySQL-DB-tests (per rollback)
- Remove dependency phpunit/dbunit
- Introduce new dev-dependency for YAML-ready (Symfony YAML reader)
2019-07-28 17:40:42 +02:00
Philipp Holzer
aefbc703f2
Add some phpdoc
2019-07-27 23:54:14 +02:00
Philipp Holzer
37d03bbeae
Introduce test optimization
...
- Add static connection for whole tests
- Introduce ExtendedPDO class to enable nested transactions
- Add rollback logic for tests to ensure reliability and increase speed
2019-07-27 23:54:13 +02:00
Philipp Holzer
07aaf292ec
Fix tests
2019-07-27 23:54:13 +02:00
b03d1fece5
Update ServerBlock console test
2019-07-26 21:16:28 -04:00
Philipp Holzer
71bc37c1c1
Fix DI-check test
2019-07-24 12:48:29 +02:00
Philipp Holzer
6759e0c193
Remove superfluous "print"
2019-07-24 12:46:22 +02:00
Philipp Holzer
05102911db
Fix App\Mode determination
2019-07-21 14:40:50 +02:00
Philipp Holzer
3d93ef9cea
Fix tests (static usage for non-static methods)
2019-07-21 14:21:08 +02:00
Philipp Holzer
a8e6a57e9b
Fixing installer
2019-07-21 14:21:02 +02:00
Philipp Holzer
55999730e0
Introduce DICE
...
- Adding dice library
- Adding dependency config
- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor
- Adjust entrypoints (index, console, worker, ..)
- Adding functional test for DI
- Fix tests because of refactorings
2019-07-21 01:22:10 +02:00
Philipp Holzer
e175b3c733
Fix L10n test
...
- Switched L10n::t() argument
2019-07-17 12:40:00 +02:00
0b97b32a59
Merge pull request #7379 from nupplaphil/task/refactor_l10n_for_test
...
Refactor L10n for testing
2019-07-16 16:03:42 -04:00
Philipp Holzer
92fb0a82ca
Dynamic config loading
...
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 20:16:43 +02:00
Philipp Holzer
79e69ee528
Fix language (again ;-) )
2019-07-16 16:50:49 +02:00
Philipp Holzer
eb024a3718
Refactor L10n for testing
...
- Moving L10n to L10n\L10n
- Adding constructor information
- Adding to factory
- simplify/speedup tests
2019-07-16 16:44:47 +02:00
ea6b02a1f5
Fix PConfiguration tests
...
- Replace uid = 0 (invalid uid) with 42
- Remove isConnected mocked calls for invalid uid test
2019-07-16 00:19:04 -04:00
cf70d0beb4
Updated PConfiguration test to honor the type-hint
2019-07-15 22:00:49 -04:00
Philipp Holzer
f70271aa5d
Allow nullable UID in PConfigCache
2019-07-15 21:14:13 +02:00
Philipp Holzer
d5de5b6789
Bugfixing bad UIDs for PConfig
2019-07-15 21:11:38 +02:00
Philipp Holzer
9d98a4ce3a
Refactor PConfiguration
2019-07-15 20:13:53 +02:00
Philipp Holzer
438c903c7a
Remove obsolete getAll() call during mocking
2019-07-15 09:42:21 +02:00
Philipp Holzer
6801e8b5ab
Fixing initial load config
2019-07-15 08:58:37 +02:00
Philipp Holzer
4af08d82b2
Added string type-hint for get() and a test case for it
2019-07-14 23:23:20 +02:00
Philipp Holzer
05439e4866
fixed test
2019-07-14 22:32:50 +02:00
Philipp Holzer
d384663b39
bugfix: add lost changes due merge
2019-07-14 22:19:16 +02:00
Philipp Holzer
4913502922
bugfix: add lost changes due merge
2019-07-14 22:12:45 +02:00
Philipp Holzer
c293eadb78
Improve & fixing Tests
2019-07-14 22:12:11 +02:00
Philipp Holzer
486f139342
Move Preload/JIT Configuration logic from Adapter to Core-Configuration
2019-07-14 22:09:07 +02:00
Philipp Holzer
a30200083a
BugFix: forgot configCache in ConfigFactory
2019-07-12 23:05:48 +02:00
Philipp Holzer
c82127ffb7
Splitting ConfigCache & PConfigCache
...
- Remove IConfigCache & IPConfigCache
- Add new PConfigCache
- Add missing Logger::init() (bugfixing tests)
2019-07-12 22:53:37 +02:00
Philipp Holzer
d533e819e2
temporary deactivate console installation tests due complex mocking situation.
2019-07-10 22:33:26 +02:00
Philipp Holzer
e1d135238a
Revert default password setting & using "HiddenString" even for empty strings
2019-07-09 22:38:54 +02:00
Michael Vogel
26accbe3ef
Merge pull request #7296 from MrPetovan/task/smilies-replace
...
Limit smilies replacement to BBCode::convert
2019-06-24 22:05:37 +02:00
Philipp Holzer
082634adbc
Moving from DBA to Database
2019-06-24 09:36:07 +02:00
19b7398c6a
Update BBCode::convert test mock-ups
2019-06-23 17:53:25 -04:00
84ccaf50fa
Allow brackets in URLs
...
- Remove obsolete $URLSearchString variable
- Add related tests
2019-06-15 22:26:29 -04:00
38311a4a02
Move link conversion to the end of BBCode::convert
...
- Addresses https://github.com/friendica/friendica/issues/7271
- Add related tests
2019-06-15 22:24:51 -04:00
Philipp Holzer
50d8dbb123
Bugfixing wrong typed password setting
2019-06-10 15:46:51 +02:00
Philipp Holzer
4666b18e5b
Bugfixing empty password setting
2019-06-10 15:40:15 +02:00
Philipp Holzer
357d9b5108
Introduce HiddenString for Config-Values
2019-06-10 14:46:31 +02:00
Philipp Holzer
79fe3c92c7
Fixing Installer - ReplaceMacro
2019-06-07 00:36:10 +02:00
Philipp Holzer
0115329dc6
Add test for Strings::isHex()
2019-05-30 12:26:29 +02:00
1e90d8efce
Add tests for Model\FileTag fileToArray and arrayToFile methods.
2019-05-28 17:05:29 -04:00
c21a227d0a
Add test for bug 7150
2019-05-19 18:52:01 -04:00
d716a3326f
Move Console namespace one level up
2019-05-02 23:17:35 +02:00
ba3cd1334a
Fix Api and BaseObject tests
2019-05-02 11:37:09 -04:00
e604b3239d
fix travis tests
2019-04-21 12:45:46 +02:00
3ca8fa0e00
Support for APCu caching
2019-04-21 12:45:19 +02:00
e9c230e109
Merge pull request #7018 from nupplaphil/feature/6245-Block_shell
...
New Command "BlockedServers"
2019-04-20 11:01:01 -04:00
8660f6d86f
Rename BlockedServers to ServerBlock
2019-04-20 16:40:27 +02:00
e062baadf8
Fix redis cache lock driver test
2019-04-20 14:20:31 +02:00
fa71a9a0ce
Improve redis configuration
...
- basic authentication
- switch database (0 - 15)
2019-04-20 13:40:40 +02:00
f05f02409e
Add update possibility to BlockedServers
2019-04-20 13:24:33 +02:00
7ce76d153a
rename description to reason
2019-04-20 12:54:38 +02:00
55d2473ec2
Add tests & default reason
2019-04-20 12:53:17 +02:00
e25f269aab
New command "BlockedServers"
2019-04-20 10:42:28 +02:00
b93db8ec2e
Add new test
2019-04-14 16:20:12 +02:00
1480380af6
Basepath Hardening
2019-04-14 16:17:58 +02:00
462973b002
Bugfix BaseURL
2019-04-14 14:53:57 +02:00
58c9566c3d
code style & install-403 fix
2019-04-14 14:24:01 +02:00
5c57f2b09a
adapt help for tests
2019-04-14 14:24:00 +02:00
f2b2451bcc
adding annotation
2019-04-14 14:23:59 +02:00
3a0664d827
fixing auto install tests
2019-04-14 14:23:58 +02:00
90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation
2019-04-14 14:23:06 +02:00
fbd056327a
DBA-Logger fix
2019-04-13 20:46:58 +02:00
1dd1684885
Hardening save method in BaseURL
2019-04-10 20:38:39 +02:00
40c075cf47
BaseURL hardening
2019-04-09 08:48:04 +02:00
e69138039a
fix api dataset for test
2019-04-09 08:41:26 +02:00
edd4f06ad0
Adding tests
2019-04-09 08:31:18 +02:00
318a3ca785
Create own base URL class which holds the whole base url business logic
2019-04-09 08:31:16 +02:00
d6d31f43a1
Add App\Router dependency injection to App
...
- Moved collectRoutes method from App to App\Router
2019-04-05 23:16:12 -04:00
7383511855
Added test case for Router->getModuleClass
2019-04-04 07:30:48 -04:00
0a447cb61b
wrong indent
2019-03-30 19:08:47 +01:00
24f5a8c3a1
add tests
2019-03-30 18:57:54 +01:00
9210767518
Add cover code block encoding edge case in smilies replacement tests
2019-03-25 21:52:35 -04:00
76414a5169
Merge pull request #6920 from nupplaphil/feature/basepath/hostname_config
...
Removing basepath/hostname from admin site settings
2019-03-24 20:15:13 -04:00
23654ce566
Added Update checks
...
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
3cf0cb71f1
Fixing tests
2019-03-24 20:41:11 +01:00
49def0dc27
Adding ConfigFileSaver and tests
2019-03-24 13:47:35 +01:00
fa31bb6dde
remove basepath and hostname from admin panel and add update path
2019-03-24 13:47:31 +01:00
383a6715c3
Added first version of ConfigCacheSaver
2019-03-23 19:34:54 +01:00
fb13d0c31b
Add tests for api_status_show
...
- Update test for api_get_last_status()
- Add test class properties declaration
2019-03-23 14:28:54 -04:00
bb78768fb2
Update tests about api_show_status()
...
- Remove testApiStatusShowWithRaw()
- Add testApiGetLastStatus()
- Mark testApiStatusShowWithJson() and testApiStatusShowWithXml() as skipped as they require an item id
2019-03-23 14:28:53 -04:00
b4ee1a5b26
Fixing Unittests
2019-03-23 18:44:52 +01:00
cacaec41fb
remove currently unused testdata
2019-03-22 23:31:46 -04:00
c150cf4e58
add annotations again
2019-03-22 23:31:46 -04:00
69fa6161e5
Refactor installer
2019-03-22 23:31:45 -04:00
d88dc7484f
Optimize testing (reduce code per test)
2019-03-22 23:25:24 -04:00
4e374fa4d3
Fixed AutomaticInstallationConsoleTest
2019-03-22 23:25:24 -04:00
d4b23ca8b9
Fixing some AutomaticInstallationConsoleTests
2019-03-22 23:25:23 -04:00
c5973beca4
Fixing some AutomaticInstallationConsoleTests
2019-03-22 23:25:23 -04:00
bef952bd16
Fixed ConfigConsoleTest
2019-03-22 23:25:22 -04:00
acd5060ec2
Fixed ConsoleTest
2019-03-22 23:23:50 -04:00
f4ec7c47b9
Bugfix ConfigCacheLoaderTest
2019-03-22 23:23:49 -04:00
1a2527cdba
Move AppMode
2019-03-22 23:22:32 -04:00
fdb3b26eea
Added close test
2019-03-22 23:13:27 -04:00
f63956851b
Adding Logger Tests
2019-03-22 23:13:26 -04:00
aee348fa02
Adding Logger Tests
2019-03-22 23:13:26 -04:00
eec4ee3fed
Rename & Testfix
2019-03-22 23:13:25 -04:00
7658916540
Added StreamLoggerTest
2019-03-22 23:13:24 -04:00
11a9c5c941
Added VoidLogger for CurResultTest
2019-03-22 23:11:14 -04:00
25b6db6aca
Moving Profiling to class
2019-03-22 23:07:39 -04:00
1b45d3fad7
testfix - namespaces
2019-03-22 22:56:58 -04:00
f3c4e6fa3d
testfix - namespaces
2019-03-22 22:56:58 -04:00
58a9a319c5
Add test for bug
2019-03-17 22:36:03 -04:00
8c6e6b5dea
Fixing .htconfig
2019-03-16 20:31:10 +01:00
1acd5c7d22
- Adding additional legacy .htconfig information
2019-03-16 20:06:53 +01:00
c5073e2036
Prevent side effects with BBCode::convert in testAutoLinking()
2019-03-13 00:40:54 -04:00
fedf29e023
Add tests for bug #6857
2019-03-11 15:27:22 -04:00
80ee411f45
Add test for Text\Markdown::convert
...
- Add folder for Markdown datasets
2019-03-09 23:29:57 -05:00
eec04b1864
Add tests for autolinker in BBCde::convert
2019-03-09 10:20:51 -05:00
07bd4cec65
Fixing redis cachekey
2019-03-04 21:28:36 +01:00
2b53784094
Reuse existing Strings::getRandomHex function
2019-02-27 18:32:25 +01:00
def502ae2d
Fix namespaces
2019-02-27 12:32:56 +01:00
5fc42a744e
Replace string namespaces with ::class
2019-02-24 13:40:54 +01:00
44953f045e
Merge pull request #6730 from nupplaphil/dba_reconnect
...
DBA::(re-)connect fix for basePath
2019-02-23 08:45:31 -05:00
1a0398a5b3
Merge pull request #6723 from nupplaphil/issue/6658-worker_id
...
Adding worker ID to log
2019-02-23 08:38:08 -05:00
5f17ce574f
Fixing DBA::(re-)connect()
2019-02-23 12:50:52 +01:00
c1896eee34
Merge pull request #6725 from nupplaphil/6691-rendertime-fix
...
Addon loading fix
2019-02-22 23:53:11 -05:00
dddaf8ea1d
improve tests
2019-02-23 01:37:29 +01:00
b23368b0ea
bugfixing test
2019-02-23 00:51:08 +01:00
1dee89f215
fixing tests and preload config
2019-02-23 00:09:57 +01:00
8c3aebc376
Bugfixings in Config
...
- replaced usage of "!<unset>!" with null-returns
- fixed bool settings (0/1)
- fixed overriding config-values
- fixed basepath problems
2019-02-22 23:51:13 +01:00
ee37632695
Adding worker id & functionname to worker logs
2019-02-22 20:10:27 +01:00
52c5ef9a75
bugfix test
2019-02-20 17:37:46 +01:00
466f7a0ee5
adding test
2019-02-20 17:20:17 +01:00
256e845c5d
Merge pull request #6641 from nupplaphil/config_followup
...
Config FollowUp
2019-02-17 17:56:31 -05:00
f5adbd268b
Fixing tests
2019-02-17 21:41:45 +01:00
5e5c39b0e1
Refactored DependencyFactory for Profiler
2019-02-17 21:12:12 +01:00
e1d9d67632
renamed Logger::setLogger() to Logger::init()
2019-02-17 20:44:08 +01:00
80f1feabe5
Refactoring Logging to use Configuration
2019-02-17 20:43:52 +01:00
eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
2019-02-17 20:40:27 +01:00
88fd871844
refactoring & test fixing
2019-02-17 01:18:21 +01:00
6d73dcbe3d
Adding composer & tests
2019-02-17 00:03:38 +01:00
68c904bbf4
adding parameter to App
2019-02-16 23:19:54 +01:00
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
11a7f97fe7
friendica-6667 Installer needs to check fileinfo module
2019-02-16 22:17:34 +01:00
199ceeadbf
Adding ConfigCacheLoaderTest
2019-02-10 13:39:48 +01:00
2a42f8dded
Adding ConfigCacheTest
2019-02-10 12:30:13 +01:00
cb791024e4
Refactor ConfigMockTrait to mocked ConfigCache
2019-02-07 20:44:03 +01:00
ef16e1a037
Adding unittest for empty setApp()
2019-02-05 22:56:57 +01:00
104086215c
Fixing tests
2019-02-05 22:03:07 +01:00
90e88d6c35
Bugfixing AutomaticInstallation test
2019-02-04 00:04:16 +01:00
0f5a50b46b
Bugfixing tests
2019-02-03 22:53:39 +01:00
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
835b5c00ee
ConsoleTest is now a MockedTest
2019-02-02 19:21:48 +01:00
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
cef6757c92
Replace REGISTER_* constants by Module\Register::* ones
2019-01-22 22:24:15 -05:00
2e602afd3e
Add Monolog
2019-01-21 10:10:40 -05:00
2f49c4a058
Revert "Add monolog"
2019-01-21 10:08:09 -05:00
6150c2fa9c
Bugfixing
2019-01-21 09:59:11 -05:00
83f187a047
bugfix test
2019-01-21 09:59:10 -05:00
8f9c0fe149
Adding Develop and normal Logging instances
2019-01-21 09:59:08 -05:00
438f31ff05
Fixed BaseObjectTest
2019-01-21 09:58:05 -05:00
fe8f0e0045
Add Monolog
2019-01-21 09:58:05 -05:00
85eb6affdf
Unit test fix
2019-01-21 09:39:14 -05:00
root
061ad380f6
for testApiSearchWithExcludeReplies: q parameter is required.
2019-01-21 09:13:10 -05:00
root
61afd5b3fb
refs #6292
...
APIs show number of comments
- /api/statuses/*_timeline
- /api/search
- /api/favorites
/api/search enhacement
- support exclude_replies parameter
2019-01-21 09:13:09 -05:00
root
ecb28f6e94
# should urlencode to %23
2019-01-21 09:12:36 -05:00
root
9c90cf7caf
ApiTest #6274 #6275
2019-01-21 09:12:36 -05:00
root
8de263df8b
#6275 - q support hashtag search
2019-01-21 09:12:35 -05:00
root
939364f9a0
API - /search #6274
...
- fixed: search result always return empty
- add hashtag search: friendica_tag params
- ApiTest & api.md updated
2019-01-21 09:12:35 -05:00
root
b43dd28b7a
closes #6272
2019-01-21 09:12:33 -05:00
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -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
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
75e63212d1
Bite by bite ...
2018-12-22 22:56:57 +00:00
6a501d99af
And again tests ...
2018-12-22 22:36:53 +00:00
732308ce6d
Hopefully this fixes the tests again
2018-12-22 22:04:47 +00:00
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
0c21bd488f
Use constants instead of strings for register_policy
2018-11-26 07:40:44 -05:00
c964e193b9
Replace *.ini.php by *.config.php in comments
2018-11-25 01:44:51 -05:00
98d90e131d
Update install to generate config/local.config.php
2018-11-25 01:44:09 -05:00
6eb6cc94c7
Move config/dbstructure.php to config/dbstructure.config.php
2018-11-25 01:14:44 -05:00
503c78e3ef
Another try to make tests run again
2018-11-18 20:59:40 +00:00
68936e8fc0
Possibly fix test
2018-11-18 20:40:10 +00:00
Michael Vogel
d577ab98eb
Merge pull request #6104 from nupplaphil/friendica-6101
...
Finding slow tests
2018-11-10 17:39:42 +01:00
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
Adam Magness
916b3e551e
format_network_name calls
...
implement formatNetworkName function
2018-11-08 10:24:47 -05:00
Adam Magness
0e01568ccd
escape_tags calls
...
implement escapeTags function
2018-11-08 10:20:03 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
61971287c4
Fixing tests
2018-11-08 08:11:27 +01:00
8ad721988b
Refactoring identities to Model\User::identities
2018-11-08 00:38:55 +01:00
6949841947
Removed unnecessary function
2018-11-05 21:17:46 +01:00
47095d70a9
Using random_int directly
2018-11-05 21:16:18 +01:00
049cd963f3
Using random_int directly
2018-11-05 21:15:30 +01:00
c94936a149
copy/paste error
2018-11-05 21:03:55 +01:00
6e10bdf361
Move random Digits to Crypto class
2018-11-05 21:02:54 +01:00
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
c2bd69e351
Lock TTL fix
2018-11-05 08:51:35 +01:00
e434ff0196
Test enhancements
2018-11-01 13:45:21 +01:00
83ead5ec48
Test enhancements
2018-11-01 13:44:47 +01:00
70f9d3c596
documentation
2018-11-01 12:48:43 +01:00
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
764e1a3cb6
Fixing issue L10n::t()
2018-10-31 12:37:52 +01:00
d75cc0cb34
Bugfixing executable (Mocking the executable)
2018-10-31 12:37:47 +01:00
92d3d77e76
Bufixing environment specific assertion problem
2018-10-31 11:03:15 +01:00
70e240691e
Moved Mocking usage
...
Adding more documentation
2018-10-31 10:39:50 +01:00
551efde226
removed unnecessary use
2018-10-31 10:19:33 +01:00
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
91f595000c
Mocking DBStructure::existsTable()
2018-10-30 12:47:44 +01:00
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
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
abb50fbf62
Install to Module
...
- Move Install to Module
- Some Bugfixings
2018-10-29 14:10:45 +01:00
Michael Vogel
d61a98a995
Merge pull request #6008 from nupplaphil/fixing_tests_2
...
Fixing tests - part 2
2018-10-23 14:23:59 +02:00
a79daf3946
Fixing tests - part 2
2018-10-23 13:53:48 +02:00
3e6ea9383b
Making redirect message more informative
2018-10-23 12:17:41 +02:00
fad99b8619
Switch from dbstructure.json to dbstructure.php
2018-10-22 16:50:55 -04:00
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
5ab115598c
Code Standards
2018-10-22 21:11:09 +02:00
d28424ddce
Code standards
2018-10-22 21:10:31 +02:00
4a82708cbf
Fix Testing
2018-10-22 20:59:51 +02:00
cbb9a2e8b7
Fix Testing
2018-10-22 20:23:06 +02:00
c32ac7f194
Install Class to methods
...
- Bugfixing Install checks (worked not as expected)
- Changed static methods from Install to class functions
- Added tests
2018-10-13 18:09:53 +02:00
5f9065e00a
smaller about.body
2018-10-11 22:21:05 +02:00
b099cba4b4
CurlResult Tests & RegEx fix
2018-10-11 22:18:27 +02:00
00bf0c24b6
CurlResult Tests
2018-10-11 21:19:38 +02:00
8cc15fd2a8
Bugfixing DatabaseTest
2018-10-10 00:20:08 +02:00
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
3bccaccede
Merge pull request #5848 from nupplaphil/friendica-5847
...
friendica-5847 Console Cache List command doesn't work
2018-10-07 17:47:51 -04:00
3f0f3b6ae6
friendica-5847 Console Cache List command doesn't work
...
- Added $prefix to all CacheDriver
- Moved hostname magic to CacheDriver
- Added test for getAllKeys()
2018-10-07 00:27:54 +02:00
a2fb49a2b4
Removing debugging echo
...
Updating Tests
2018-10-06 19:11:00 +02:00
31148e25cf
Changing Friendica\App\Mode from static methods to public methods
...
- Changing from static methods to public methods
- Adding dev-composer-dependency Mockery for static method mocking (f.e. Config, DBA)
- Adding ModeTest with Mocking
- removing bootstrap from phpunit.xml because of double loading tests\bootstrap.php
2018-10-06 16:27:20 +02:00
924b21623c
Fixing tests for AutomaticInstallation
2018-10-05 19:51:14 +02:00
d5203735eb
The API test should now complete again
2018-10-02 07:38:43 +00:00
bd2b3b1ef5
LockDriverFixings
...
- release Locks in case of failures
- adding some cache tests
2018-09-06 08:11:18 +02:00
f148dcabc4
CacheLockDriverTest Fixings
...
- Changing test behaviour
2018-09-05 22:16:23 +02:00
Philipp
2838e4ebaf
Automatic Install Tests & Doku ( #5674 )
...
* Automatic Installation Testing
- New dev-library "mikey179/vfsStream"
- created "reload" method for App-Reloads
- ConsoleTest now using virtual directory
- Adding Automatic Installation Tests
- Fixing some probable install-failures
* Updating README for Automatic Installation
* Updating README for Automatic Installation
* Bugfix normal installation
* Fixing copying of config files
2018-08-27 00:15:55 -04:00
Philipp
4eaeea7889
Config Console Tests ( #5621 )
...
* Config Console Tests
- `MultiUseConsole` is now a testable console
- `ConsoleTest` is a abstract TestClass for console tests
- `ConfigConsoleTest` tests the config console commands
* disable preserve global state because of smarty
* fixed requires & basepath für Console Test
2018-08-17 19:41:46 +00:00
Hypolite Petovan
5f48b98505
Skip DB tests if MYSQL_* environment variables are missing
2018-08-04 16:35:31 +02:00
Roland Häder
bf87ad4fcf
Fixed E_NOTICE in listing worker queue and new utilities class added ( #5521 )
...
* Fixes for E_NOTICE in workqueue:
- introduced class `Friendica\Util\Arrays` which will hold static methods for
handling arrays that cannot be done with PHP's functions, like implode() on
multi-dimensional arrays
- rewrote old-school for() loop to foreach()
* Added intial unit test with some tests on empty delimiters and/or sinle and
multi-dim array.
* Added test for for 3-dimensional arrays, thanks to nupplaphil's feedback.
2018-07-30 21:24:26 -04:00
Michael Vogel
2d0a749734
Merge pull request #5431 from MrPetovan/task/5410-rename-database-methods
...
Move DBA to src/ part 3.1: Rename DBA methods
2018-07-23 15:18:58 +02:00
Philipp
cd52d0b3e9
Using getopt for CLI arguments ( #5446 )
...
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* fixing arguments for `spawnWorker`
* Adding `use Friendica\BaseObject` to `ApiTest.php`
* Refactoring the argument-usages of Friendica
* Refactoring the argument-usages of Friendica
* removing superfluous []
2018-07-23 07:40:52 -04:00
Hypolite Petovan
cdd8e4fd9d
Rename DBA::get_db to DBA::getConnection
...
- Rename DBA::$db to DBA::$connection
2018-07-22 19:28:29 -04:00
Philipp
c5cbf565d9
DBStructure enhancements ( #5437 )
...
* Adding DBStructure enhancements
- Added DBStructure::rename()
- Added DBStructure::existTable()
- Added DBStructure::existColumn()
(cherry picked from commit 4ae06ec)
* Adding `pre_update_1279` method
- Added DBStructure::rename()
- Added DBStructure::existTable()
- Added DBStructure::existColumn()
(cherry picked from commit 8496d84)
* code standards
(cherry picked from commit 551d09b)
* simplify to `empty` instead `is_null`
(cherry picked from commit ce68835)
2018-07-21 08:43:43 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Pierre Rudloff
6e1ed0b0d3
Fix tests ( #5400 )
...
* Avoid argc side-effects
* Fix undefined array keys in JITConfigAdapter::set()
* Avoid argv side effects in ApiTest
2018-07-18 16:30:55 -04:00
Pierre Rudloff
b057906bed
Fix silent exit in ApiTest::testApiMediaUploadWithMedia() ( #5398 )
2018-07-18 15:36:51 -04:00
Philipp
2d0446bd38
simplifying unittests ( #5395 )
...
* simplifying unittests
- use @requires instead class_exist
- define @small and @medium
* simplifying unittests
- removed unnecessary throwings
2018-07-18 15:04:18 -04:00
Hypolite Petovan
820afa2284
Replace global $a with BaseObject::getApp()
2018-07-16 19:38:17 -04:00
Hypolite Petovan
5906c7e013
Remove api test pconfig debug
2018-07-16 19:38:17 -04:00
Hypolite Petovan
478b42e88f
Fix debug
2018-07-16 19:38:16 -04:00
Hypolite Petovan
6987129a00
Add yet more pconfig debug to testApiGetUserWithCustomFrioSchema
2018-07-16 19:38:16 -04:00
Hypolite Petovan
4efcd47807
Put base test config in Yaml dataset
2018-07-16 19:38:16 -04:00
Hypolite Petovan
8fe9a46ccf
Set system.hostname in test bootstrap
2018-07-16 19:38:16 -04:00
Hypolite Petovan
59c38d1b73
Move meaningful message inside Exception thrown in Cache tests
2018-07-16 19:38:16 -04:00
Hypolite Petovan
47992d06ce
Restore system.url declaration in tests
2018-07-16 19:38:16 -04:00
Hypolite Petovan
12e34cc5fb
Remove direct App instantiation from tests
2018-07-16 19:38:16 -04:00
Hypolite Petovan
fc5d8e41a4
[tests] Prevent bin/worker.php from being called during tests
2018-07-16 19:38:16 -04:00
Hypolite Petovan
66ac16e101
Fix set_baseurl() notice messages in worker during tests
2018-07-16 19:38:15 -04:00
Hypolite Petovan
32418e8660
Fix test bootstrap namespace issue
2018-07-16 19:38:15 -04:00
Hypolite Petovan
1f1a3930b2
Instantiate the App in test bootstrap
...
- Remove wrong App instantiation in Lock test
2018-07-16 19:38:15 -04:00
Hypolite Petovan
3433c22116
Remove .htconfig.php reference from DatabaseTest
2018-07-16 19:38:15 -04:00
Hypolite Petovan
5196ea22ff
Fix Database connexion in tests
2018-07-16 19:38:15 -04:00
e5c767d809
a new unittest for prefix
2018-07-09 22:15:11 +02:00
8c2258dd2e
switched back to origin TestCase structure
2018-07-09 21:48:47 +02:00
dbc38d4263
improved unittest
2018-07-09 21:40:38 +02:00
c829e43725
moved get_guid to System::createGUID
2018-07-09 21:38:16 +02:00
be83696f02
Redis serialize instead of json because of objects
2018-07-08 13:35:28 +02:00
ff24d0d567
code-standards wrap operators with spaces
2018-07-07 20:51:08 +02:00
3cde7a3e4b
Fixed & added unittests
2018-07-07 20:35:42 +02:00
065b83d148
Fixed memcache & unittests
2018-07-07 20:07:07 +02:00
80a4e6263f
Added Unittests for cache
...
fixed Lock & Cache bugs
2018-07-07 19:46:16 +02:00
6ecaa5b15a
copy&paste error for memcached unittest
2018-07-07 18:12:17 +02:00
1ffe0cfd81
Added Lock Unittests & Bugfixings
...
Added Redis Lock Unittests
Added Memcached Lock Unittests
Fixed a bug in dba
Fixed a bug in RedisLock
2018-07-07 16:15:03 +02:00
Michael Vogel
3eec97aa6e
Merge pull request #5314 from MrPetovan/task/4889-fix-tests
...
Fix tests after enabling PHP Notices
2018-07-06 22:14:01 +02:00
e41e7d2edd
Fixings
...
- fixed test for semaphore
- fixed some issues
- changed namespace in Tests back to "src/"
- changed namings
2018-07-05 20:57:31 +02:00
906bb25972
code standards / simplifications
2018-07-05 07:59:56 +02:00
Hypolite Petovan
c60d85329c
Rename language to lang in test data as well
2018-07-04 17:55:06 -04:00
aac94d1d74
Adding multihost - locking
...
Adding Unit-Tests for it
2018-07-04 23:37:22 +02:00
Hypolite Petovan
cdab9b4cd2
Add missing author-link property to testFormatItems*
2018-07-04 00:54:53 -04:00
Hypolite Petovan
3a89ab199b
Fix tests error/failures
...
- Fix undenifed index: author-network notice
- Fix assertion mismatch in testApiDirectMessagesNewWithUserId
2018-07-04 00:09:17 -04:00
Hypolite Petovan
b2b984433c
Fix dataset ids for otheruser/frienduser
...
Remove debug
2018-07-03 23:37:52 -04:00
Hypolite Petovan
675333f246
Bleh
2018-07-03 23:27:12 -04:00
Hypolite Petovan
3e9ff5ef6e
Move debug
2018-07-03 23:20:33 -04:00
Hypolite Petovan
8ad41d4f15
Add debug to database test
2018-07-03 23:14:03 -04:00
Hypolite Petovan
b256f5cf2c
Fix missing env variable replacement
2018-07-03 22:46:45 -04:00
Hypolite Petovan
40d911c284
Use correct App mode to disable logging
...
- Restore normal mode after DBStructure update
- Improve error message in case of missing DB connection
2018-07-03 21:24:16 -04:00
Hypolite Petovan
125f7beb63
Add creation/deletion of separate .htconfig.php used for tests
2018-07-03 21:22:50 -04:00
Hypolite Petovan
d31e3b16ff
Fix boolean values in test data
2018-07-03 21:22:10 -04:00
Hypolite Petovan
eaa3e4d157
Use MYSQL_* environment variables for tests
...
- Prevent `.htconfig.php` override when present during tests.
2018-07-03 08:26:44 -04:00
Hypolite Petovan
4752ea1374
Add .htconfig.php in test setUp
2018-07-03 00:02:02 -04:00
Hypolite Petovan
9cce1f70f9
Add .htconfig.php in test setUp
2018-07-02 23:10:33 -04:00
Hypolite Petovan
39b61da05d
Fix last undefined variable/index messages in tests
2018-07-02 07:49:44 -04:00
Hypolite Petovan
f91e7c9f17
Revert using System::baseurl() for mock user nurls
2018-07-02 07:49:40 -04:00
Hypolite Petovan
18eb13a598
Fix API test cases
...
- Add meaningful app->argv/c
- Add support for subfolder install
- Add meaningful image URL from placeholder.com
- Fix incomplete test testApiHelpTestWithXml()
- Use $this->frienduser for direct messages tests
- Fix dataset to have an actual contact relationship
2018-07-02 07:49:29 -04:00
Hypolite Petovan
a380bcd1c1
Fix more undefined variable/index notice in tests
2018-07-02 07:45:25 -04:00
Hypolite Petovan
209510e970
Replace PHP_EOL with \n to conform to code behavior on Windows in tests
2018-07-02 07:45:18 -04:00
Hypolite Petovan
a329ce5b50
Fix $called_api expecting at least 2 elements in tests
2018-07-02 07:45:11 -04:00
Hypolite Petovan
6776c4e3f9
Fix some undefined variable/index notices in tests
2018-07-02 07:44:55 -04:00
eca43895e1
Fixing tests
2018-06-09 21:46:35 +00:00
defd3d15b6
Possibly fixed test
2018-06-09 20:39:40 +00:00
f316e96bd1
Now the dataset is said to be valid again.
2018-06-03 16:11:05 +00:00
09c1b44381
Someone else has to fix this
2018-06-03 11:42:23 +00:00
e232ccf9e0
Trying around ...
2018-06-03 11:38:03 +00:00
946bfd79ff
Just one more ...
2018-06-03 11:29:09 +00:00
9ade6c2b33
The testdata hadn't contained public contacts
2018-06-03 11:20:22 +00:00
e48b2a3dad
Reverting it ...
2018-06-03 11:12:09 +00:00
058d755372
I guess I broke the test tool :-)
2018-06-03 11:07:24 +00:00
e392491e94
Next try ;-)
2018-06-03 10:58:03 +00:00
b33578c137
Additional data for the test tool
2018-06-03 10:47:40 +00:00
28678c0fad
Reverting the last test
2018-06-03 10:22:10 +00:00
96d170c9d8
Trying to understand the test tool
2018-06-03 10:04:02 +00:00
Pierre Rudloff
e7fceb8e61
Make DatabaseTest::getConnection() return the correct database name to PHPUnit
2018-05-16 13:15:28 +02:00
Pierre Rudloff
f3ca3b2bd5
Add some explanation in DatabaseTest::getConnection()
2018-05-16 13:14:50 +02:00
Pierre Rudloff
f7064be41f
Remove useless line breaks in DatabaseTest
2018-05-16 13:09:05 +02:00
Pierre Rudloff
5ece452a32
Remove unused class import in DatabaseTest
2018-05-16 13:08:17 +02:00
Pierre Rudloff
6a654df444
Add a new contact to test rel=2 in tests
...
See https://github.com/friendica/friendica/pull/5022#discussion_r187416029
2018-05-10 22:21:55 +02:00
Pierre Rudloff
3195d6e125
Add API tests
2018-05-10 19:12:00 +02:00
bcc298204e
use strlen instead of count(php7.2 fails)
2018-04-23 09:37:56 +02:00
6e313736f4
remove comment
2018-04-23 09:37:06 +02:00
f1535c0f01
use strlen instead of count as above (php7.2 fails)
2018-04-23 09:35:12 +02:00
61a380975b
there are more then 1 test ATM
2018-04-23 08:53:46 +02:00
c31a54175d
comment out use clause
2018-04-23 08:47:42 +02:00
0a58637ace
phpunit compat 5.6 vs 7.x
2018-04-23 08:42:13 +02:00
Pierre Rudloff
e695e1060f
Regroup old tests in the TextTest class
2018-04-10 02:21:33 +02:00
Pierre Rudloff
9a40f17257
Remove old tests
...
Add tests for the BaseObject class
2018-04-09 23:03:29 +02:00
Hypolite Petovan
1d427aa214
Standards: Remove EOF closing PHP tags
2017-05-02 23:36:56 -04:00
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
2017-03-21 12:02:59 -04:00
c2d8738285
added spaces (coding convention)
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:51:54 +01:00
3e701b90ac
Continued rewriting:
...
- use dba::is_result() everywhere (where I found the old, bad way)
- converted some spaces -> tabs for code
- converted some CRLF -> LF as mixures of both is not good
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-05-01 14:24:44 +02:00
rabuzarus
3df5c17124
reformat todo according to doxygen style
2015-12-25 23:17:34 +01:00
friendica
78579627ce
rev update, fix autoname test "random" failure
2012-04-26 01:33:41 -07:00
friendica
fbdb8fc43a
fix tags test with new url
2012-04-24 01:02:22 -07:00
friendica
e575d67969
had arg order backwards
2012-04-07 02:23:11 -07:00
friendica
7a7102618b
try assertContains
2012-04-07 02:21:55 -07:00
friendica
cf2d8ef7a6
tag tests cont.
2012-04-07 02:11:56 -07:00
friendica
f30146b521
fix autonamenegativelength test
2012-04-07 01:20:38 -07:00
friendica
3a1c78bd75
some work on tests
2012-04-07 01:04:45 -07:00
Alexander Kampmann
355c42cb30
Merge branch 'master' of https://github.com/friendica/friendica
...
Conflicts:
include/config.php
update.php
2012-04-05 13:39:15 +02:00
Alexander Kampmann
f208e7af36
tests for the template engine
2012-03-22 12:43:03 +01:00
Alexander Kampmann
29ade1d9b9
another test for xmlify
2012-03-15 10:51:22 +01:00
Alexander Kampmann
509ed2604f
splitted tests into several files
2012-03-14 12:54:49 +01:00
Alexander Kampmann
c0c98206ef
removed done TODO
2012-03-14 12:31:25 +01:00
Alexander Kampmann
509532d168
get_tags tests corrected. They test for the right things now.
2012-03-14 12:30:52 +01:00
Alexander Kampmann
bce3bfff38
get tags test improved
2012-03-12 13:59:00 +01:00
Alexander Kampmann
f8042d0445
splitted test cases.
2012-03-09 12:57:11 +01:00
Alexander Kampmann
21589c5ece
changed a test string
2012-03-09 12:18:37 +01:00
Alexander Kampmann
f84c191f8d
added some tests
2012-03-09 12:16:58 +01:00
Alexander Kampmann
185fcd0701
better tests
2012-03-08 17:43:12 +01:00
Alexander Kampmann
fbc017cdba
added test blueprints, fixed? encoding issues
2012-03-05 22:22:10 +01:00