1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-25 01:52:40 +00:00
Arsse/tests/docroot/Feed/Caching/304Random.php
J. King ceeb23aea3 More Feed tests: cache header handling
- Also made all SQLite tests skippable if the extension is not loaded
- Fixed format of ETags in test server
- Passed any CLI arguments to PHPUnit in the test runner
2017-05-22 10:02:36 -04:00

7 lines
No EOL
144 B
PHP

<?php return [
'code' => 304,
'lastMod' => random_int(0,2^31),
'fields' => [
"ETag: ".bin2hex(random_bytes(8)),
],
];