Commit graph

112 commits

Author SHA1 Message Date
Philipp Holzer d433c06632 Add tests to prove error https://github.com/friendica/friendica/issues/11023
- Use `$request` instead of `$post` in `BaseModule->run`
2021-11-29 06:29:29 -05:00
Michael cf2ada64da Adding test data 2021-11-21 06:31:04 +00:00
Philipp Holzer 8bf61848f9
Fix Legacy test 2021-11-15 00:01:16 +01:00
Michael 63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Philipp Holzer caa977c24e
adapt fixture 2021-10-18 23:32:46 +02:00
Hypolite Petovan 47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
fabrixxm eadcc8dc93 Handle reading empty file in ReversedFileReader
fix #10766
2021-09-27 12:14:19 +02:00
Philipp Holzer 3eb2abdb2a
Adapt tests 2021-08-25 14:22:42 +02:00
Philipp Holzer 52c7948526
Create HTTPClientFactory and introduce ImageTest 2021-08-25 14:22:42 +02:00
Philipp Holzer 9eba32226c
make CS happy :) 2021-08-20 22:11:36 +02:00
Philipp Holzer 803c1d71de
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
Philipp Holzer dee1899628
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest
2021-08-20 19:58:42 +02:00
fabrixxm ce0d7616cc Add tests for ParsedLogIterator 2021-08-19 14:57:04 +02:00
Michael e0fdde3287 Fix the tests, hopefully 2021-07-09 17:13:54 +00:00
Michael 3dc5912886 Test with file (will fail) 2021-05-24 04:56:03 +00:00
Michael 70d93d7e4f Reverting previous commit 2021-05-24 04:45:24 +00:00
Michael f151b4571d Media ids with content 2021-05-24 04:42:20 +00:00
Michael 49c2431f1f Two (hopefully) easy tests added 2021-05-24 04:33:42 +00:00
Michael a0c52a8253 Added real test data 2021-05-23 19:34:28 +00:00
Philipp Holzer c064a39341
Adapt tests using a content file 2021-05-23 20:30:27 +02:00
Philipp Holzer 1bcfa714a1
Make tests PHPUnit 6.0 compatible 2021-05-16 23:22:44 +02:00
Philipp Holzer 02e6dff6a0
Fix tests
- Fix InstallerTest case
- Fix native function mocking
- Add returntype for Unit-Tests
- Fixing ExtendedPDO test troubles
- Fix wrong class inheritance path for DatabaseTestTrait.php
- Fix SyslogLogger Server Exception for PHP8
- Add user/contact to database.fixture.php
- Avoid invalid rollbacks for test setup in PHP8
2021-04-04 20:11:57 +02:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Hypolite Petovan 9c0549128b Make frio the default theme 2021-03-01 10:20:44 -05:00
Michael e1c1744dd1 "wall" in test data 2021-02-15 12:43:23 +00:00
Michael 0f84148413 Some more test data tests 2021-02-15 12:40:05 +00:00
Michael 69d2a7e55d Previous stuff reverted 2021-02-15 06:55:41 +00:00
Michael bbdb0de2ad More test data 2021-02-15 06:46:28 +00:00
Michael 6771d69bb1 Added test data 2021-02-15 06:25:41 +00:00
Michael 1778e57baf Missing field in view 2021-02-15 06:14:53 +00:00
Michael 2f84d874a8 Test data for the "verb" table 2021-02-15 05:59:45 +00:00
Michael e1c79a41d9 We now don't store in the "item" table anymore 2021-02-14 20:27:31 +00:00
Michael ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael cb92f1334f Rearranged field definition 2021-02-09 17:10:45 +00:00
Michael f1377ce7fb Issue 9906: Improved view speed 2021-02-09 16:35:01 +00:00
Michael 09c2f424be More test data 2021-02-05 07:27:15 +00:00
Michael 15b709594f Improving test data 2021-02-05 07:14:09 +00:00
Michael 239bf686af Just some more tests 2021-02-05 05:53:44 +00:00
Michael 0cd8c78e2d Use the id instead of iid 2021-02-04 22:51:33 +00:00
Michael f92816cf62 More test data 2021-02-04 22:14:53 +00:00
Michael 2b6b72f7fd Fix test data 2021-02-04 17:56:43 +00:00
Michael 2e4ff98699 Set test data 2021-02-04 17:48:51 +00:00
Michael 2282bb4a19 Fix test data 2021-02-04 09:46:29 +00:00
Michael c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael 8deabf5c2e Providing more test data 2021-01-28 23:17:58 +00:00
Hypolite Petovan 82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Michael ff8b578cde Fix the test data / unused function removed 2021-01-17 22:20:46 +00:00
Michael 270d1aeb41 Improve the test data 2021-01-17 22:08:08 +00:00
Michael 6b4245d662 Test the test 2021-01-17 21:39:42 +00:00
Michael d78892fc1b Improved API datasets 2021-01-17 14:57:55 +00:00