diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-15 04:44:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-15 04:44:08 +0000 |
commit | 063fe4821daef625278d12d323631c6014714a85 (patch) | |
tree | 4e98c264ac13da1f6c5c24b8818f9e8aed81bc0f /modules/system | |
parent | 6c2b8b7db9e955507d329f6f5d04a6bbd5c09ad2 (diff) | |
download | brdo-063fe4821daef625278d12d323631c6014714a85.tar.gz brdo-063fe4821daef625278d12d323631c6014714a85.tar.bz2 |
#742972 follow-up by klausi, sun: Fix documentation and tests regarding entity cache clearing.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index e6db7a13c..da7042ac2 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -161,11 +161,14 @@ class EnableDisableTestCase extends ModuleTestCase { /** * Tests entity cache after enabling a module with a dependency on an enitity * providing module. + * + * @see entity_cache_test_watchdog() */ function testEntityCache() { module_enable(array('entity_cache_test')); $info = variable_get('entity_cache_test'); - $this->assertNotNull($info, t('Entity information must not be NULL')); + $this->assertEqual($info['label'], 'Entity Cache Test', 'Entity info label is correct.'); + $this->assertEqual($info['controller class'], 'DrupalDefaultEntityController', 'Entity controller class info is correct.'); } } |