Skip to content

Commit

Permalink
Merge pull request #21 from open-source-contributions/test_enhancement
Browse files Browse the repository at this point in the history
Test enhancement for fixtures
  • Loading branch information
chrisnharvey authored Nov 4, 2020
2 parents 4a8a963 + 7f41466 commit d2eab60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/SwiftAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
use GuzzleHttp\Psr7\Stream;
use League\Flysystem\Config;
use org\bovigo\vfs\vfsStream;
use OpenStack\Common\Error\BadResponseError;
use org\bovigo\vfs\content\LargeFileContent;
use Nimbusoft\Flysystem\OpenStack\SwiftAdapter;
use PHPUnit\Framework\TestCase;

class SwiftAdapterTest extends \PHPUnit_Framework_TestCase
class SwiftAdapterTest extends TestCase
{
public function setUp()
protected function setUp()
{
$this->config = new Config([]);
$this->container = Mockery::mock('OpenStack\ObjectStore\v1\Models\Container');
Expand All @@ -20,7 +20,7 @@ public function setUp()
$this->root = vfsStream::setUp('home');
}

public function tearDown()
protected function tearDown()
{
Mockery::close();
}
Expand Down

0 comments on commit d2eab60

Please sign in to comment.