Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294794

Improve tests for NULL values

$
0
0

The MemoryBackend does not support caching NULL, i.e. cache()->set('foo', NULL).

GenericCacheBackendUnitTestBase::testValueTypeIsKept() tests several edge cases, but unfortunately it does not test NULL.

This adds a test for NULL. It also removes a few other strange occurrences of isset($cache->data).


Viewing all articles
Browse latest Browse all 294794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>