Commit graph

6 commits

Author SHA1 Message Date
Michael Orlitzky
092e090cf0
ext/session/tests: more lenient expected output checks. (#11631)
Several session tests incidentally check the values of INI variables
like session.name and session.save_path. This isn't the point of the
tests, and it can cause spurious failures if (for example) you want to
override your temporary directory while testing. So here, we make the
expected output patterns more lenient.
2023-07-10 09:25:25 +01:00
George Peter Banyard
8e9fa2bd23 Convert mod user FINISH macro to static function 2022-10-22 12:47:34 +01:00
George Peter Banyard
5b40d06680 Refactor session_set_save_handler()
Use proper ZPP callables with FCI/FCC
2022-10-22 12:47:34 +01:00
George Peter Banyard
15c0df76b5 Add regression test for not setting optional closures again 2022-10-22 12:47:34 +01:00
George Peter Banyard
5465eff03c Remove tests as they are identical to already existing basic tests 2022-10-22 12:47:34 +01:00
George Peter Banyard
386892f1fe Restructure ext-session tests
And small improvements to some
2022-10-22 12:47:34 +01:00