summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-27 00:22:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-27 00:22:27 +0000
commit2e8ca690ff471b1d6604226e8153f401b1827204 (patch)
tree546f818191f809271154f26464961e3425dbc72c /modules/upload
parentba5609c11a88f8ab8f42520c3f39eafb69dd463e (diff)
downloadbrdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.gz
brdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.bz2
- Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave.
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.test b/modules/upload/upload.test
index 79358225b..bd4bfbdc9 100644
--- a/modules/upload/upload.test
+++ b/modules/upload/upload.test
@@ -53,7 +53,7 @@ class UploadTestCase extends DrupalWebTestCase {
// Assure that the attachment link appears on teaser view and has correct count.
$node = node_load($node->nid);
- $teaser = node_view($node, TRUE);
+ $teaser = drupal_render(node_build($node, TRUE));
$this->assertTrue(strpos($teaser, format_plural(2, '1 attachment', '@count attachments')), 'Attachments link found on node teaser.');
// Fetch db record and use fid to rename and delete file.