Skip to content

Commit

Permalink
Fixed temporary directory conflicting with other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zxc8027 committed Nov 12, 2019
1 parent 983f9c6 commit 5e8d7fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion litle/sdk/Test/functional/BatchRequestFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BatchRequestFunctionalTest extends \PHPUnit_Framework_TestCase

public function setUp()
{
$this->direct = sys_get_temp_dir() . '/test';
$this->direct = sys_get_temp_dir() . '/test' . CURRENT_SDK_VERSION;
if (!file_exists($this->direct)) {
mkdir($this->direct);
}
Expand Down
2 changes: 1 addition & 1 deletion litle/sdk/Test/functional/LitleRequestFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class LitleRequestFunctionalTest extends \PHPUnit_Framework_TestCase

public function setUp()
{
$this->direct = sys_get_temp_dir() . '/test';
$this->direct = sys_get_temp_dir() . '/test' . CURRENT_SDK_VERSION;
if (!file_exists($this->direct)) {
mkdir($this->direct);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class LitleResponseProcessorFunctionalTest extends \PHPUnit_Framework_TestCase

public function setUp()
{
$this->direct = sys_get_temp_dir() . '/test';
$this->direct = sys_get_temp_dir() . '/test' . CURRENT_SDK_VERSION;
if (!file_exists($this->direct)) {
mkdir($this->direct);
}
Expand Down

0 comments on commit 5e8d7fa

Please sign in to comment.