From f96c141f5aa99ed414eba4e0a520e5b4d9f91b76 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 22 Jun 2009 09:10:07 +0000 Subject: - Patch #409750 by yched et al: overhaul and extend node build modes. --- modules/upload/upload.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/upload/upload.test') diff --git a/modules/upload/upload.test b/modules/upload/upload.test index 7c07c516d..124c9bbd8 100644 --- a/modules/upload/upload.test +++ b/modules/upload/upload.test @@ -64,7 +64,7 @@ class UploadTestCase extends DrupalWebTestCase { // Assure that the attachment link appears on teaser view and has correct count. $node = node_load($node->nid); - $teaser = drupal_render(node_build($node, TRUE)); + $teaser = drupal_render(node_build($node, 'teaser')); $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. -- cgit v1.2.3