1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 17:12:41 +00:00
Commit graph

62 commits

Author SHA1 Message Date
J. King
1cd3f29fe3 Merge branch 'master' into phake 2024-12-15 22:38:22 -05:00
J. King
e8be7d0f38 Address our own deprecations in PHP 8.4 2024-12-15 16:31:57 -05:00
J. King
9d92c1661d More Phake conversion 2023-11-11 17:22:13 -05:00
J. King
1b80ad37bc Merge branch 'csfixer3'
Code style cleanup to mostly conform to PSR-12
2023-03-22 23:33:05 -04:00
J. King
d2f3f19128 Fix failures 2022-08-06 16:16:18 -04:00
J. King
459e44e041 Address remaining errors
Still many failures to fix
2022-08-06 16:03:50 -04:00
J. King
4d18bf27e2 Adjust most uses of Diactoros to Guzzle PSR-7 2022-08-05 22:08:36 -04:00
J. King
ad32bf3340 Style fixes 2021-07-05 21:47:44 -04:00
J. King
514cb0a351 Ow 2021-07-05 20:57:05 -04:00
J. King
4080b2d09d Apply new rules 2021-04-14 11:17:01 -04:00
J. King
5cfa01f4d5 Work around MySQL stupidity 2021-03-02 11:04:21 -05:00
J. King
64ca5f1be0 Fix strict comparison failures 2021-03-01 23:27:58 -05:00
J. King
4642b9fd1c PRovide upgrade path for assertRegExp 2021-03-01 18:20:50 -05:00
J. King
2348786a92 Start on replacing Phake with Phony 2021-02-27 15:24:02 -05:00
J. King
68422390da Implement CLI for user metadata 2021-02-10 11:24:01 -05:00
J. King
54a6fcc0d6 Consolidate object factoriesinto one place 2021-02-06 23:51:23 -05:00
J. King
5124f76b70 Implementcategory deletion 2020-12-13 22:10:34 -05:00
J. King
bc53a2d24a Style fixes 2020-03-01 15:16:50 -05:00
J. King
06d3af0ac3 Fix remaining Picofeed-related test failures 2020-01-24 15:54:08 -05:00
J. King
bbace7a0ac Use void and nullable return types where practical 2020-01-20 13:34:03 -05:00
J. King
5838af892f Replace references to Zend with Laminas 2020-01-20 10:40:05 -05:00
J. King
de424e42f6 Merge branch 'master' into phpunit-8 2019-11-14 11:51:38 -05:00
J. King
c59cdfef76 Whitespace fixes 2019-10-25 15:16:35 -04:00
J. King
17a2fa96f8 Upgrade to PHPUnit 8 2019-10-16 14:42:43 -04:00
J. King
c5337b37b4 Consolidate creation of synthetic server requests 2019-09-25 18:30:53 -04:00
J. King
13b76dea0c Tests for generic importing 2019-07-25 13:14:29 -04:00
J. King
2aa16f3405 Merge branch 'fever' into opml 2019-07-24 14:04:04 -04:00
J. King
0480465e7e Test Fever XML responses
Fixes #158
2019-07-24 09:10:13 -04:00
J. King
103755cfb4 Test fixture for import tests 2019-07-05 19:01:34 -04:00
J. King
cb71a9efd7 Make database connections for testing configurable 2019-06-22 10:29:26 -04:00
J. King
2628ff7bf4 Make database test helpers generic 2019-06-21 18:52:27 -04:00
J. King
9ebaa20633 Tests for Fever password creation and removal 2019-03-20 22:24:35 -04:00
J. King
5cd84c4ab4 Validate configuration parameters on import, and other changes
- Each parameter is checked for type and normalized
- Interval strings are converted to DateInterval objects
- Timeouts can be specified as interval strings
- Most intervals can be null to signify infinity
- Driver classes are checked that they implement the correct interface
- Short driver names may be used, and are used by default
- Helpful errors messages are printed in case of erroneous configuration

Exporting is currently broken; this will be fixed in an upcoming commit
2019-01-20 22:40:49 -05:00
J. King
4ef36643a4 Proof-of-concept PDO MySQL driver
- Configuration options were added
- Non-transactional locking was added to the savepoint handlers
- Tests were adjusted for MySQL's reserved words
2018-12-20 18:06:28 -05:00
J. King
0513b606c2 Merge master 2018-12-07 19:21:44 -05:00
J. King
93af381436 Test setting of schema name 2018-11-27 17:39:39 -05:00
J. King
7340d65c0e Make data clearing in tests static 2018-11-23 10:01:17 -05:00
J. King
8c20411359 Align statement tests with other database driver tests 2018-11-22 23:18:20 -05:00
J. King
f22e53fdc9 Align result tests with driver tests 2018-11-22 19:55:54 -05:00
J. King
aa1b65b5d4 Take a different tack on shared database tests
Tests for different drivers will have their own files, but all derive
from a common prototype test series where applicable, similar to the
existing arrangement for database function tests. However, the prototype
will reside with other test cases rather than in the library path. The
database function test series will hopefully be moved as well in time.
2018-11-22 13:55:57 -05:00
J. King
4e444fd86c Generic database interface creation in tests 2018-11-21 13:06:01 -05:00
J. King
976672de5b Test cleanup 2018-11-16 21:32:27 -05:00
J. King
30d6f6db37 Consolidate Db result test series into single file 2018-11-08 14:50:58 -05:00
J. King
ba8e208d79 Partial CLI tests 2018-11-06 12:32:28 -05:00
J. King
34b508171b Merge CORS branch 2018-01-12 09:41:13 -05:00
J. King
aa57227097 Use PSR-7 for authentication; fixes #53 2018-01-11 15:48:29 -05:00
J. King
daea0ceb27 Make HTTP message testing generic
assertMessage will test the method and target URL of requests, attributes of server requests, as well as the existing testing of a response's status code. All messages' bodies and header fields are tested for equivalence (with a special case for JSON response bodies).
2018-01-11 11:09:25 -05:00
J. King
90dfeb727a Implement CORS; fixes #126 2018-01-09 12:31:40 -05:00
J. King
3fa2d38f31 Initial rewrite of REST class; needs more testing, but should be functional
- improves #53
- improves #66
2018-01-06 12:02:45 -05:00
J. King
890f9b07d4 Replace Resquest objects with PSR-7 request messages; improves #53 2018-01-04 23:08:53 -05:00