1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-27 02:52:40 +00:00
Commit graph

68 commits

Author SHA1 Message Date
J. King
d5652296ea Test feed reduplication 2022-09-19 13:06:19 -04:00
J. King
307ab7fa2a Merge branch 'dbtest' into redup 2022-09-15 10:42:33 -04:00
J. King
a77b47cd59 Merge branch 'master' into dbtest 2022-09-15 10:12:04 -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
9459ef044f Use existing infrastructure for update tests 2022-06-06 10:51:41 -04:00
J. King
e9c6ddcfdf Adjust date fix-up after column changes 2022-06-05 18:17:26 -04:00
J. King
07bac4ead3 Remove colukmn types from test data
For some reason this breaks PostgreSQL tests; this will have to be fixed
2022-06-05 17:41:32 -04:00
J. King
0f2da754c5 Fix remaining test problems 2022-06-04 23:02:24 -04:00
J. King
c40f39e34e Work around MySQL absurdities 2022-06-04 22:07:21 -04:00
J. King
2822864a85 Fix most test failures
MySQL is still being stubborn. It may be a type-conversion issue.
2022-06-04 20:16:22 -04:00
J. King
51ce4ae92b Partial rewrite of database table comparison
Contents still need to be sorted for tests to pass.
2022-06-03 22:10:49 -04:00
J. King
9ac615e4a4 Apply more PSR-12 style rules 2022-05-31 23:55:04 -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
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