Skip to content

Commit

Permalink
fix: make commande to remove phpspec adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinArtus committed Oct 27, 2023
1 parent dcfb86a commit 2fccab0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 34 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ docker.php-cs-fix: ## Run CS fixer
# -------
#

remove-phpspec: ## Remove adapter specs (allows you to run test suite without adapters deps)
remove-phpspec: ## Remove adapter specs (allows you to run test suite without adapters that needs deps)
rm spec/Gaufrette/Adapter/AsyncAwsS3Spec.php
rm spec/Gaufrette/Adapter/AwsS3Spec.php
rm spec/Gaufrette/Adapter/GoogleCloudStorageSpec.php
rm spec/Gaufrette/Adapter/AzureBlobStorageSpec.php
rm spec/Gaufrette/Adapter/DoctrineDbalSpec.php
rm spec/Gaufrette/Adapter/FlysystemSpec.php
rm -r spec/Gaufrette/Adapter/AzureBlobStorage
rm spec/Gaufrette/Adapter/GoogleCloudStorageSpec.php
rm spec/Gaufrette/Adapter/GridFSSpec.php
rm spec/Gaufrette/Adapter/PhpseclibSftpSpec.php

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use WindowsAzure\Blob\Models\Blob;
use WindowsAzure\Common\ServiceException;

class AzureBlobStorage extends ObjectBehavior
class AzureBlobStorageSpec extends ObjectBehavior
{
/**
* @param \Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface $blobProxyFactory
Expand Down
13 changes: 1 addition & 12 deletions spec/Gaufrette/Adapter/PhpseclibSftpSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,10 @@
}

use Gaufrette\Filesystem;
use phpseclib\Net\SFTP as Base;
use PhpSpec\ObjectBehavior;

class SFTP extends Base
{
public function __construct()
{
}
}
use phpseclib\Net\SFTP;

class PhpseclibSftpSpec extends ObjectBehavior
{
/**
* @param \spec\Gaufrette\Adapter\SFTP $sftp
*/
function let(SFTP $sftp)
{
$this->beConstructedWith($sftp, '/home/l3l0', false, 'l3lo', 'password');
Expand Down
18 changes: 0 additions & 18 deletions spec/Gaufrette/Adapter/ZipSpec.php

This file was deleted.

0 comments on commit 2fccab0

Please sign in to comment.