summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-07-15 11:24:03 (GMT)
committerAlex Pott2014-07-15 11:24:03 (GMT)
commit351352e95219c1b0dbc7d0c75131ba792827e931 (patch)
treeeea696f8f50483e6f5cbca6a571baf95da4eb713
parente5d8fced7f8edf427df1ec2d59bd209f7d14cb62 (diff)
Issue #2279213 by neclimdul, sun | donquixote: Fixed KernelTestBase::unregisterStreamWrapper() is called once with insufficient arguments.
-rw-r--r--core/modules/simpletest/src/KernelTestBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/simpletest/src/KernelTestBase.php b/core/modules/simpletest/src/KernelTestBase.php
index dc459ed..616d064 100644
--- a/core/modules/simpletest/src/KernelTestBase.php
+++ b/core/modules/simpletest/src/KernelTestBase.php
@@ -490,7 +490,7 @@ abstract class KernelTestBase extends UnitTestBase {
*/
protected function registerStreamWrapper($scheme, $class, $type = STREAM_WRAPPERS_LOCAL_NORMAL) {
if (isset($this->streamWrappers[$scheme])) {
- $this->unregisterStreamWrapper($scheme);
+ $this->unregisterStreamWrapper($scheme, $this->streamWrappers[$scheme]);
}
$this->streamWrappers[$scheme] = $type;
if (($type & STREAM_WRAPPERS_LOCAL) == STREAM_WRAPPERS_LOCAL) {