Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
5d4b7e0e
Commit
5d4b7e0e
authored
Nov 25, 2014
by
Thomas Müller
Browse files
fix failing unit test for the temp manager - concurrently executed unit tests influence each other
parent
a6c088a1
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/lib/tempmanager.php
View file @
5d4b7e0e
...
...
@@ -27,7 +27,7 @@ class TempManager extends \Test\TestCase {
protected
function
setUp
()
{
parent
::
setUp
();
$this
->
baseDir
=
get_temp_dir
()
.
'/oc_tmp_test'
;
$this
->
baseDir
=
get_temp_dir
()
.
$this
->
getUniqueID
(
'/oc_tmp_test'
)
;
if
(
!
is_dir
(
$this
->
baseDir
))
{
mkdir
(
$this
->
baseDir
);
}
...
...
@@ -39,7 +39,7 @@ class TempManager extends \Test\TestCase {
}
/**
* @param
\Psr\Log\LoggerInterface
$logger
* @param
\OCP\ILogger
$logger
* @return \OC\TempManager
*/
protected
function
getManager
(
$logger
=
null
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment