summaryrefslogtreecommitdiff
path: root/modules/file
diff options
context:
space:
mode:
Diffstat (limited to 'modules/file')
-rw-r--r--modules/file/tests/file.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/file/tests/file.test b/modules/file/tests/file.test
index 0e5f97d84..ef250eff9 100644
--- a/modules/file/tests/file.test
+++ b/modules/file/tests/file.test
@@ -1104,6 +1104,6 @@ class FilePrivateTestCase extends FileFieldTestCase {
$this->assertResponse(200, t('Confirmed that the generated URL is correct by downloading the shipped file.'));
$this->drupalLogOut();
$this->drupalGet(file_create_url($node_file->uri));
- $this->assertNoResponse(200, t('Confirmed that access is denied for the file without the needed permission.'));
+ $this->assertResponse(403, t('Confirmed that access is denied for the file without the needed permission.'));
}
}