summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-02 13:09:34 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-02 13:09:34 +0000
commitd68931862975923d9f1cca47dbf84c7694a256af (patch)
tree28a7fa042f65c83b7002577340253e2970c63315 /modules/simpletest
parent45dc99c832aa635ef0a485e909be4de5a1072df0 (diff)
downloadbrdo-d68931862975923d9f1cca47dbf84c7694a256af.tar.gz
brdo-d68931862975923d9f1cca47dbf84c7694a256af.tar.bz2
- Patch #701358 by aaron, quicksketch, chx, pwolanin, aspilicious: the file API presumes a hiearchical file storage.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/file.test5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test
index b8afcd167..efe55f7ab 100644
--- a/modules/simpletest/tests/file.test
+++ b/modules/simpletest/tests/file.test
@@ -2286,11 +2286,6 @@ class StreamWrapperTest extends DrupalWebTestCase {
$instance = file_stream_wrapper_get_instance_by_uri('public://foo');
$this->assertEqual('DrupalPublicStreamWrapper', get_class($instance), t('Got correct class type for public URI.'));
- // Test file_stream_wrapper_uri_normalize().
- $uri = 'public:///' . file_directory_path() . '/foo/bar/';
- $uri = file_stream_wrapper_uri_normalize($uri);
- $this->assertEqual('public://foo/bar', $uri, t('Got a properly normalized URI @uri', array('@uri' => $uri)));
-
// Test file_uri_target().
$this->assertEqual(file_uri_target('public://foo/bar.txt'), 'foo/bar.txt', t('Got a valid stream target from public://foo/bar.txt.'));
$this->assertFalse(file_uri_target('foo/bar.txt'), t('foo/bar.txt is not a valid stream.'));