From 063fe4821daef625278d12d323631c6014714a85 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 15 Oct 2010 04:44:08 +0000 Subject: #742972 follow-up by klausi, sun: Fix documentation and tests regarding entity cache clearing. --- modules/system/system.test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/system') 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.'); } } -- cgit v1.2.3