Title says it all. Caused by #636454: Cache tag support
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 1597888-cache-nullbackend-13-test-only.patch | 1.14 KB | Niklas Fiekas |
| #13 | 1597888-cache-nullbackend-13.patch | 2.08 KB | Niklas Fiekas |
| #7 | 1597888-cache-nullbackend-6-interdiff.txt | 806 bytes | Niklas Fiekas |
| #6 | 1597888-cache-nullbackend-6-test-only.patch | 1.18 KB | Niklas Fiekas |
| #6 | 1597888-cache-nullbackend-6.patch | 2.11 KB | Niklas Fiekas |
Comments
Comment #1
sunThis gives a fatal error, so actually critical, but since unused, just bumping to major.
Comment #2
Crell commentedWell that's embarrassing. Should we add at least a trivial test to verify that the class works?
Comment #3
Niklas Fiekas commentedAdding a basic test.
Comment #4
sunThanks!
Comment #5
catchThat should be a unit test rather than extending CacheTestCase no?
I opened #1599578: Add/adopt high level cache tests and run them against each backend to see if we can put something in place to avoid adding separate tests for each backend.
Comment #6
Niklas Fiekas commentedYeah, I think it might be safe to assume that the NullBackend doesn't require the datbase, probably.
Comment #7
Niklas Fiekas commentedLast file should have been the interdiff :)
Comment #9
Niklas Fiekas commentedComment #10
klausiThe test case should be created as PSR-0, no?
Comment #11
Niklas Fiekas commentedSince it's a system test, would it go into core/tests/? Does the autoloader find it there? In what directory exactly? In what namespace?
Comment #12
klausiSee #1593058-2: Remove system.info's files[] entry.
Comment #13
Niklas Fiekas commentedThank you, klausi!
(Not using core/tests or core/lib/Drupal/Core/Tests as of #1593058-4: Remove system.info's files[] entry. Maybe move around later.)
Comment #14
klausiLooks good!
Comment #15
dries commentedCommitted to 8.x. Thanks.
Comment #16
Niklas Fiekas commentedLooks like this didn't make it up to git.drupal.org. Are you sure you pushed?
Comment #17
catchLooks like not. I've gone ahead and committed/pushed this.
Comment #18
Niklas Fiekas commentedExcellent. Thanks.